From 377d9d37f321610bc408c5bf36e6dc5e01294ec2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 2 Jul 2015 02:54:59 +0200 Subject: [PATCH] Fix paths --- hydra-module.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hydra-module.nix b/hydra-module.nix index bda54785..a3b3c10e 100644 --- a/hydra-module.nix +++ b/hydra-module.nix @@ -213,12 +213,12 @@ in ln -sf ${hydraConf} ${baseDir}/hydra.conf - mkdir -m 0700 -p /var/lib/hydra/www - chown hydra-www.hydra /var/lib/hydra/www + mkdir -m 0700 -p ${baseDir}/www + chown hydra-www.hydra ${baseDir}/www - mkdir -m 0700 -p /var/lib/hydra/queue-runner - mkdir -m 0750 -p /var/lib/hydra/build-logs - chown hydra-queue-runner.hydra /var/lib/hydra/queue-runner /var/lib/hydra/build-logs + mkdir -m 0700 -p ${baseDir}/queue-runner + mkdir -m 0750 -p ${baseDir}/build-logs + chown hydra-queue-runner.hydra ${baseDir}/queue-runner ${baseDir}/build-logs ${optionalString haveLocalDB '' if ! [ -e ${baseDir}/.db-created ]; then