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 ]; path = [ pkgs.nettools ];
environment = env; environment = env;
serviceConfig = 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"; User = "hydra";
Restart = "always"; Restart = "always";
}; };