diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-01-09 12:43:48 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-01-09 12:43:48 +0100 |
commit | 6ed3dcbd2036c06e585eaef8063ab982b0335dcc (patch) | |
tree | 5a246b729bb1960c5b66edfee38d5893030acbcc | |
parent | 15adbb1cf61768e3fffb645bfa7a60f514050380 (diff) | |
download | jenkins.debian.net-6ed3dcbd2036c06e585eaef8063ab982b0335dcc.tar.xz |
create link to /var/www/userContent for reproducible url rewriting
-rwxr-xr-x | update_jdn.sh | 2 |
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 |