summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xusr/share/commissioning/off/off.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/share/commissioning/off/off.sh b/usr/share/commissioning/off/off.sh
new file mode 100755
index 0000000..5be4eb4
--- /dev/null
+++ b/usr/share/commissioning/off/off.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+sleep 30
+/etc/init.d/commissioning stop 2>&1 | logger -p local0.crit
+/etc/init.d/php-fpm-commission stop 2>&1 | logger -p local0.crit