summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/adv_graphgen/all_the_graphs.sh
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-01-04 04:31:38 +0700
committermakefu <github@syntax-fehler.de>2013-01-04 04:31:38 +0700
commit577c64f0c8e70081a2226522cbfc18c393dcb5e3 (patch)
tree231d180b730148b60d6753f8df03e17c1b871d9b /retiolum/scripts/adv_graphgen/all_the_graphs.sh
parent1027cbc903b6e1852247225ca0aa6b958cf2550c (diff)
parentc971ce27a09d4aa5e740fda3664c8a8181de3233 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum/scripts/adv_graphgen/all_the_graphs.sh')
-rwxr-xr-xretiolum/scripts/adv_graphgen/all_the_graphs.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/retiolum/scripts/adv_graphgen/all_the_graphs.sh b/retiolum/scripts/adv_graphgen/all_the_graphs.sh
index 5533c722..8aa0ab21 100755
--- a/retiolum/scripts/adv_graphgen/all_the_graphs.sh
+++ b/retiolum/scripts/adv_graphgen/all_the_graphs.sh
@@ -5,10 +5,12 @@
cd $(dirname $(readlink -f $0))
PATH=$PATH:../../../util/bin/
export LOG_FILE=/var/log/retiolum.log
+ EXTERNAL_FOLDER=/var/www/euer.krebsco.de/graphs/retiolum
+ INTERNAL_FOLDER=/var/www/euer/graphs/retiolum
begin=`timer`
export GRAPHITE_HOST="no_omo"
- (./anonytize.sh /srv/http/pub/graphs/retiolum/ && echo "`date` anonytize done" >> /tmp/build_graph)&
- (./sanitize.sh /srv/http/priv/graphs/retiolum/ && echo "`date` sanitize done" >> /tmp/build_graph)&
+ (./anonytize.sh $EXTERNAL_FOLDER && echo "`date` anonytize done" >> /tmp/build_graph)&
+ (./sanitize.sh $INTERNAL_FOLDER && echo "`date` sanitize done" >> /tmp/build_graph)&
# wait
graphitec "retiolum.graph.buildtime" "$(timer $begin)" >> /tmp/build_graph
echo "`date` end all graphs" >> /tmp/build_graph