summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-06-25 11:18:27 +0200
committermakefu <root@pigstarter.de>2013-06-25 11:18:27 +0200
commit243867ce99ab9d6ef7dd736a34b965a318d118f0 (patch)
tree2556812d54ae5467a5a79a2bf6125094f373f49a
parent9388056ecdde42c5c643b86bf2f1cdfad9f28c3b (diff)
add json generation for map.html to all the graph map
-rwxr-xr-xretiolum/scripts/adv_graphgen/all_the_graphs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/retiolum/scripts/adv_graphgen/all_the_graphs.sh b/retiolum/scripts/adv_graphgen/all_the_graphs.sh
index 2811ebb7..381c7aeb 100755
--- a/retiolum/scripts/adv_graphgen/all_the_graphs.sh
+++ b/retiolum/scripts/adv_graphgen/all_the_graphs.sh
@@ -10,6 +10,8 @@
INTERNAL_FOLDER=/var/www/euer/graphs/retiolum
begin=`timer`
export GRAPHITE_HOST="no-omo"
+ export GEOCTIYDB="$PWD/GeoLiteCity.dat"
+ (python tinc_stats/Log2JSON.py | python tinc_stats/Geo.py > $INTERNAL_FOLDER/marker.json)&
(./anonytize.sh $EXTERNAL_FOLDER && echo "`date` anonytize done" >> /tmp/build_graph)&
(./sanitize.sh $INTERNAL_FOLDER && echo "`date` sanitize done" >> /tmp/build_graph)&
# wait