summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-09 12:43:48 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-09 12:43:48 +0100
commit6ed3dcbd2036c06e585eaef8063ab982b0335dcc (patch)
tree5a246b729bb1960c5b66edfee38d5893030acbcc
parent15adbb1cf61768e3fffb645bfa7a60f514050380 (diff)
downloadjenkins.debian.net-6ed3dcbd2036c06e585eaef8063ab982b0335dcc.tar.xz
create link to /var/www/userContent for reproducible url rewriting
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index cfc135dd..64fc579b 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -91,6 +91,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 ln -sf /etc/apache2/sites-available/jenkins.debian.net /etc/apache2/sites-enabled/000-default
+# for reproducible.d.n url rewriting:
+sudo ln -sf /var/lib/jenkins/userContent /var/www/userContent
sudo service apache2 reload
cd /etc/munin/plugins ; sudo rm -f postfix_* open_inodes df_inode interrupts irqstats threads proc_pri vmstat if_err_eth0 fw_forwarded_local fw_packets forks open_files users 2>/dev/null
[ -L apache_accesses ] || for i in apache_accesses apache_volume ; do ln -s /usr/share/munin/plugins/$i $i ; done