@cryptotaxi247 / infra / commits / dae4cd66

* Unlock builds after stopping the queue runner.

svn path=/configurations/trunk/tud/; revision=34714

Eelco Dolstra committed Apr 11, 2013 at 12:17 UTC dae4cd66a85afbcafe09af2235aa3eb9cae56819
1 file changed +2 -1
hydra-module.nix
+2 -1
@@ -177,7 +177,7 @@ in
177 };
178
179 systemd.services."hydra-queue-runner" =
180 - { wantedBy = [ "multi-user.target" ];
180 + { #wantedBy = [ "multi-user.target" ];
181 wants = [ "hydra-init.service" ];
182 after = [ "hydra-init.service" "network.target" ];
183 path = [ pkgs.nettools pkgs.ssmtp ];
@@ -185,6 +185,7 @@ in
185 serviceConfig =
186 { ExecStartPre = "${hydra}/bin/hydra-queue-runner --unlock";
187 ExecStart = "@${hydra}/bin/hydra-queue-runner hydra-queue-runner";
188 + ExecStopPost = "${hydra}/bin/hydra-queue-runner --unlock";
189 User = cfg.user;
190 Restart = "always";
191 };