From 98255e84e69ccdcc9f42670178c22ad8fca8712d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 2 Dec 2011 15:47:31 +0100 Subject: [PATCH] hydra-module.nix: Remove `.pl' extension for binaries. --- hydra-module.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hydra-module.nix b/hydra-module.nix index 7a7475ae..0f362129 100644 --- a/hydra-module.nix +++ b/hydra-module.nix @@ -178,16 +178,16 @@ in { description = "hydra-server"; startOn = if cfg.autoStart then "started network-interfaces hydra-init" else "never"; exec = '' - ${pkgs.su}/bin/su - ${cfg.user} -c '${env} ${cfg.hydra}/bin/hydra-server.pl > ${cfg.baseDir}/data/server.log 2>&1' + ${pkgs.su}/bin/su - ${cfg.user} -c '${env} ${cfg.hydra}/bin/hydra-server > ${cfg.baseDir}/data/server.log 2>&1' ''; }; jobs.hydra_queue_runner = { description = "hydra-queue-runner"; startOn = if cfg.autoStart then "started network-interfaces hydra-init" else "never"; - preStart = "${pkgs.su}/bin/su - ${cfg.user} -c '${env} ${cfg.hydra}/bin/hydra-queue-runner.pl --unlock'"; + preStart = "${pkgs.su}/bin/su - ${cfg.user} -c '${env} ${cfg.hydra}/bin/hydra-queue-runner --unlock'"; exec = '' - ${pkgs.su}/bin/su - ${cfg.user} -c '${env} nice -n 8 ${cfg.hydra}/bin/hydra-queue-runner.pl > ${cfg.baseDir}/data/queue-runner.log 2>&1' + ${pkgs.su}/bin/su - ${cfg.user} -c '${env} nice -n 8 ${cfg.hydra}/bin/hydra-queue-runner > ${cfg.baseDir}/data/queue-runner.log 2>&1' ''; }; @@ -195,7 +195,7 @@ in { description = "hydra-evaluator"; startOn = if cfg.autoStart then "started network-interfaces hydra-init" else "never"; exec = '' - ${pkgs.su}/bin/su - ${cfg.user} -c '${env} nice -n 5 ${cfg.hydra}/bin/hydra-evaluator.pl > ${cfg.baseDir}/data/evaluator.log 2>&1' + ${pkgs.su}/bin/su - ${cfg.user} -c '${env} nice -n 5 ${cfg.hydra}/bin/hydra-evaluator > ${cfg.baseDir}/data/evaluator.log 2>&1' ''; }; @@ -221,7 +221,7 @@ in in [ "*/5 * * * * root ${checkSpace} &> ${cfg.baseDir}/data/checkspace.log" "15 5 * * * root ${compressLogs} &> ${cfg.baseDir}/data/compress.log" - "15 02 * * * ${cfg.user} ${env} ${cfg.hydra}/bin/hydra-update-gc-roots.pl &> ${cfg.baseDir}/data/gc-roots.log" + "15 02 * * * ${cfg.user} ${env} ${cfg.hydra}/bin/hydra-update-gc-roots &> ${cfg.baseDir}/data/gc-roots.log" ]; };