summaryrefslogtreecommitdiff
path: root/roles/install_monitoring/files/ffmyk-influx/daemon.sh
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-20 20:56:39 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-20 20:56:39 +0100
commiteade06a930c16f5cb08edd454d9e41364edf8103 (patch)
tree51dde0c60cf6c6486269edaa574efad4ad4d90a1 /roles/install_monitoring/files/ffmyk-influx/daemon.sh
parent892aba103d0b58a888813a42bbb0fb00e852adfd (diff)
install_monitoring: added ffmyk-influx
Diffstat (limited to 'roles/install_monitoring/files/ffmyk-influx/daemon.sh')
-rwxr-xr-xroles/install_monitoring/files/ffmyk-influx/daemon.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/install_monitoring/files/ffmyk-influx/daemon.sh b/roles/install_monitoring/files/ffmyk-influx/daemon.sh
new file mode 100755
index 0000000..1cc5a8d
--- /dev/null
+++ b/roles/install_monitoring/files/ffmyk-influx/daemon.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+cd /opt/ffmyk-influx
+while : ;do
+ php -c ./php.ini -f dhcp.php
+ php -c ./php.ini -f traffic.php
+ php -c ./php.ini -f fastd.php
+ sleep 15
+done