Try lowering the sleep on the shutdown timeout to avoid the service dispatch timeout built into systemd.
This commit is contained in:
parent
ec87e37d8c
commit
ccb19571d6
1 changed files with 1 additions and 1 deletions
|
@ -35,4 +35,4 @@ coreos:
|
|||
ExecStartPre=/usr/bin/docker login -u {{ quay_username }} -p {{ quay_password }} -e unused quay.io
|
||||
ExecStart=/usr/bin/docker run --rm --net=host --name quay-builder --privileged --env-file /root/overrides.list -v /var/run/docker.sock:/var/run/docker.sock quay.io/coreos/registry-build-worker:latest
|
||||
ExecStop=/usr/bin/docker stop quay-builder
|
||||
ExecStopPost=/bin/sh -xc "/bin/sleep 600; /usr/bin/systemctl --no-block poweroff"
|
||||
ExecStopPost=/bin/sh -xc "/bin/sleep 120; /usr/bin/systemctl --no-block poweroff"
|
||||
|
|
Reference in a new issue