Skip to content

Commit

Permalink
add monitor runner (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoLostanlen authored Mar 17, 2022
1 parent 07d05b0 commit 7faa0ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyroengine/pi_utils/pi_zeros/monitor_runner.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
until python3 /home/pi/pi_zeros/runner.py; do
echo "'runner.py' crashed with exit code $?. Restarting..." >&2
sleep 1
done

0 comments on commit 7faa0ce

Please sign in to comment.