aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/update_apt-panopticon
diff options
context:
space:
mode:
authoronefang2019-12-10 15:49:01 +1000
committeronefang2019-12-10 15:49:01 +1000
commitaa916bc92a8a239c30b03bac06a0f0fc468a846b (patch)
tree8622a77832d232f8b275a92964fc67d4940eadd4 /update_apt-panopticon
parentAdd RRD data collection, and a speed graph. (diff)
downloadapt-panopticon-aa916bc92a8a239c30b03bac06a0f0fc468a846b.zip
apt-panopticon-aa916bc92a8a239c30b03bac06a0f0fc468a846b.tar.gz
apt-panopticon-aa916bc92a8a239c30b03bac06a0f0fc468a846b.tar.bz2
apt-panopticon-aa916bc92a8a239c30b03bac06a0f0fc468a846b.tar.xz
Add stuff needed for those detailed graphs using apt-panopticon_cgp.
Diffstat (limited to 'update_apt-panopticon')
-rwxr-xr-xupdate_apt-panopticon16
1 files changed, 16 insertions, 0 deletions
diff --git a/update_apt-panopticon b/update_apt-panopticon
new file mode 100755
index 0000000..b70f4c3
--- /dev/null
+++ b/update_apt-panopticon
@@ -0,0 +1,16 @@
1#!/bin/bash
2
3cd /var/www/html/apt-panopticon/apt-panopticon_cgp
4#git pull > /dev/null
5#chown -R mirrors:www-data *
6cd /var/www/html/apt-panopticon/apt-panopticon
7#git pull > /dev/null
8#chown -R mirrors:www-data *
9
10if [ ! -f apt-panopticon.lock ] ; then
11 rm ../results; ln -s apt-panopticon/results_old ../results
12 flock -n apt-panopticon.lock ./apt-panopticon.lua && rm apt-panopticon.lock
13 rm ../results; ln -s apt-panopticon/results ../results
14fi
15
16#chown -R mirrors:www-data /var/www/html/SledjHamr/apt-panopticon/results