summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'retiolum/scripts')
-rwxr-xr-xretiolum/scripts/adv_graphgen/tinc_stats.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/retiolum/scripts/adv_graphgen/tinc_stats.py b/retiolum/scripts/adv_graphgen/tinc_stats.py
index 370c59f7..be3bbbff 100755
--- a/retiolum/scripts/adv_graphgen/tinc_stats.py
+++ b/retiolum/scripts/adv_graphgen/tinc_stats.py
@@ -77,4 +77,7 @@ def parse_input(log_data):
if __name__ == '__main__':
+ import subprocess,time
+ subprocess.popen("pkill -SIGUSR2 tincd")
+ time.sleep(1)
print json.dumps(parse_input((get_tinc_block(SYSLOG_FILE))))