diff options
author | John Klug <john.klug@multitech.com> | 2019-12-02 18:45:15 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-12-02 18:45:15 -0600 |
commit | f230e0b1d9e027e6f98f218efbb74946b7a94b92 (patch) | |
tree | 3cfb484e376d053ec2d677c2c4a2cc37c3784880 | |
parent | c2d9d4d291bef71a61cb6f496d42bd7adec1aa26 (diff) | |
download | commissioning-f230e0b1d9e027e6f98f218efbb74946b7a94b92.tar.gz commissioning-f230e0b1d9e027e6f98f218efbb74946b7a94b92.tar.bz2 commissioning-f230e0b1d9e027e6f98f218efbb74946b7a94b92.zip |
Script to turn off commissioning server
-rwxr-xr-x | usr/share/commissioning/off/off.sh | 4 |
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 |