diff options
author | onefang | 2019-12-10 15:49:01 +1000 |
---|---|---|
committer | onefang | 2019-12-10 15:49:01 +1000 |
commit | aa916bc92a8a239c30b03bac06a0f0fc468a846b (patch) | |
tree | 8622a77832d232f8b275a92964fc67d4940eadd4 /update_apt-panopticon | |
parent | Add RRD data collection, and a speed graph. (diff) | |
download | apt-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 '')
-rwxr-xr-x | update_apt-panopticon | 16 |
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 | |||
3 | cd /var/www/html/apt-panopticon/apt-panopticon_cgp | ||
4 | #git pull > /dev/null | ||
5 | #chown -R mirrors:www-data * | ||
6 | cd /var/www/html/apt-panopticon/apt-panopticon | ||
7 | #git pull > /dev/null | ||
8 | #chown -R mirrors:www-data * | ||
9 | |||
10 | if [ ! -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 | ||
14 | fi | ||
15 | |||
16 | #chown -R mirrors:www-data /var/www/html/SledjHamr/apt-panopticon/results | ||