Update the hydra-queue-runner unit

This commit is contained in:
Eelco Dolstra 2015-06-26 11:29:30 +02:00
parent 73a78c2073
commit aabe514d07

View file

@ -232,8 +232,8 @@ in
path = [ pkgs.nettools ];
environment = env;
serviceConfig =
{ ExecStartPre = "${cfg.package}/bin/hydra-queue-runner --unlock";
ExecStart = "@${cfg.package}/bin/hydra-queue-runner hydra-queue-runner";
{ ExecStart = "@${cfg.package}/bin/hydra-queue-runner hydra-queue-runner";
ExecStopPost = "${cfg.package}/bin/hydra-queue-runner --unlock";
User = "hydra";
Restart = "always";
};