chch-power/run.sh

20 lines
218 B
Bash
Raw Normal View History

#!/bin/bash
cd "$(dirname $0)"
2017-02-22 23:33:58 +01:00
(
while true; do
/usr/bin/python3 chch-power.py >/dev/null 2>&1
2017-02-19 23:42:49 +01:00
sleep 1
done
) &
disown $!
2017-02-22 23:33:58 +01:00
(
while true; do
./command_watcher.sh >/dev/null 2>&1
sleep 1
done
) &
disown $!