Merge pull request 'docker-ci-runner: fix stop hanging for 120s' (#217) from fix/ci-runner-docker-stop into main

Reviewed-on: pub-solar/os#217
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
This commit is contained in:
b12f 2023-04-24 12:51:07 +02:00
commit f4c509b3de
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873

View file

@ -102,5 +102,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
'';
};
}