added command handling
This commit is contained in:
parent
b1883f0ec6
commit
e177bedd69
3 changed files with 68 additions and 1 deletions
9
run.sh
9
run.sh
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd "$(dirname $0)"
|
||||
|
||||
(
|
||||
while true; do
|
||||
/usr/bin/python3 chch-power.py >/dev/null 2>&1
|
||||
|
@ -8,3 +9,11 @@ cd "$(dirname $0)"
|
|||
done
|
||||
) &
|
||||
disown $!
|
||||
|
||||
(
|
||||
while true; do
|
||||
./command_watcher.sh >/dev/null 2>&1
|
||||
sleep 1
|
||||
done
|
||||
) &
|
||||
disown $!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue