services: drone: fix docker socket dependency
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3a4098a6c4
commit
cf76586585
|
@ -100,6 +100,7 @@ in
|
||||||
# Docker runner
|
# Docker runner
|
||||||
systemd.services.drone-runner-docker = lib.mkIf (hasRunner "docker") {
|
systemd.services.drone-runner-docker = lib.mkIf (hasRunner "docker") {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
after = [ "docker.socket" ]; # Needs the socket to be available
|
||||||
# might break deployment
|
# might break deployment
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
confinement.enable = true;
|
confinement.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue