services: drone: fix docker socket dependency
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bruno BELANYI 2021-03-30 21:59:08 +00:00
parent 3a4098a6c4
commit cf76586585

View file

@ -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;