Allow using some files to stop restart of applications

This commit is contained in:
Lynn Ochs 2022-11-22 23:22:52 +01:00
parent 95493a2a2c
commit abfb7a7a6f

View File

@ -1,7 +1,11 @@
#!/bin/sh #!/bin/sh
while true; do while true; do
start-stop-daemon -S -m -p /tmp/poll_desfire.pid -x /bin/poll_desfire -b -- /root/key /tmp/nfc_fifo if [ ! -f /tmp/debugging_poll_desfire ]; then
start-stop-daemon -v -p /tmp/fcpy.pid -S -b -m -v -x /usr/bin/python -- /usr/bin/door_pi_control 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
#start-stop-daemon -v -p /tmp/webiface.pid -S -b -m -v -x /usr/bin/python -- /usr/bin/launch_webadmin #start-stop-daemon -v -p /tmp/webiface.pid -S -b -m -v -x /usr/bin/python -- /usr/bin/launch_webadmin
sleep 5 sleep 5
done done