added simple wrapper script to start the script

This commit is contained in:
root 2017-02-19 18:46:38 +00:00
parent e30c3ac42a
commit be494b9c17

10
run.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
cd "$(dirname $0)"
(
while true; do
/usr/bin/python3 chch-power.py >/dev/null 2>&1
done
sleep 1
) &
disown $!