From f7b70ac18f9f585fe0e586b5b6eb9e8735822af2 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 4 Jun 2015 18:34:13 +0200 Subject: apache: directly use the apache conf from /etc/munin, use a2en{site,conf} to enable the site and the conf --- update_jdn.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'update_jdn.sh') diff --git a/update_jdn.sh b/update_jdn.sh index 3c6c7443..a2af8cf9 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -216,7 +216,8 @@ if [ ! -e /etc/apache2/mods-enabled/proxy.load ] ; then fi sudo chown root.root /etc/sudoers.d/jenkins ; sudo chmod 700 /etc/sudoers.d/jenkins sudo chown root.root /etc/sudoers.d/jenkins-adm ; sudo chmod 700 /etc/sudoers.d/jenkins-adm -sudo ln -sf /etc/apache2/sites-available/jenkins.debian.net /etc/apache2/sites-enabled/jenkins.conf +sudo a2ensite -q jenkins.debian.net +auso a2enconf -q munin sudo chown jenkins-adm.jenkins-adm /etc/apache2/sites-enabled/jenkins.conf # for reproducible.d.n url rewriting: [ -L /var/www/userContent ] || sudo ln -sf /var/lib/jenkins/userContent /var/www/userContent -- cgit v1.2.3-54-g00ecf