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
1 changed files with 10 additions and 0 deletions

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 $!