DoorPi/root_overlay/bin/watcher

12 lines
474 B
Plaintext
Raw Normal View History

2021-03-08 20:54:21 +00:00
#!/bin/sh
while true; do
if [ ! -f /tmp/debugging_poll_desfire ]; then
start-stop-daemon -S -m -p /tmp/poll_desfire.pid -x /bin/poll_desfire -b -- /root/key /tmp/nfc_fifo
fi
if [ ! -f /tmp/debugging_door_pi_control ]; then
start-stop-daemon -v -p /tmp/fcpy.pid -S -b -m -v -x /usr/bin/python -- /usr/bin/door_pi_control --log_host 10.11.1.1:5556
fi
2022-11-06 18:03:11 +00:00
#start-stop-daemon -v -p /tmp/webiface.pid -S -b -m -v -x /usr/bin/python -- /usr/bin/launch_webadmin
2021-08-16 20:52:59 +00:00
sleep 5
2021-03-08 20:54:21 +00:00
done