docker-ci-runner: fix stop hanging for 120s

This commit is contained in:
teutat3s 2023-04-15 21:13:45 +02:00
parent d8d46a4c28
commit 19785f035c
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -105,5 +105,10 @@ in {
}; };
}; };
}; };
# Fix container not stopping correctly and holding the system 120s upon
# shutdown / reboot
systemd.services.docker-drone-exec-runner.preStop = ''
docker stop drone-exec-runner
'';
}; };
} }