Added automatic restart feature with supervisor
If the script fails for some reason, then supervisor will restart the script automatically.
This commit is contained in:
parent
f7a913e9ec
commit
5e29cc3251
@ -240,6 +240,7 @@ stdout_logfile = /home/pi/Inky-Calendar/E-Paper.log
|
||||
stdout_logfile_maxbytes = 1MB
|
||||
stderr_logfile = /home/pi/Inky-Calendar/E-Paper-err.log
|
||||
stderr_logfile_maxbytes = 1MB
|
||||
autorestart = true
|
||||
EOF
|
||||
|
||||
sudo service supervisor start E-Paper
|
||||
|
Loading…
Reference in New Issue
Block a user