Skip to content

Commit

Permalink
add monitor runner
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoLostanlen committed Mar 15, 2022
1 parent 2556448 commit b2c71d2
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 b2c71d2

Please sign in to comment.