From 6c559adede3ed62c0a18175c951aa503fcd2a133 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sat, 8 Jan 2011 22:56:17 +0000 Subject: do not hardcode schedbot home dir --- modules/buildsystem/templates/vhost_pkgsubmit.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/buildsystem/templates/vhost_pkgsubmit.conf b/modules/buildsystem/templates/vhost_pkgsubmit.conf index e37f6f8d..b9e9f22f 100644 --- a/modules/buildsystem/templates/vhost_pkgsubmit.conf +++ b/modules/buildsystem/templates/vhost_pkgsubmit.conf @@ -1,11 +1,11 @@ <% -pkgsubmit_root = "/home/schedbot/uploads" +pkgsubmit_root = sched_home_dir + "/uploads" %> ServerName pkgsubmit.<%= domain %> DocumentRoot <%= pkgsubmit_root %> - Alias /uploads /home/schedbot/uploads + Alias /uploads <%= sched_home_dir %>/uploads Allow from all Options Indexes -- cgit v1.2.1