Testing a fix where software would not start @boot
This commit is contained in:
parent
f2273deede
commit
73b3497d14
1 changed files with 6 additions and 6 deletions
|
@ -147,12 +147,12 @@ EOF
|
||||||
sudo apt-get install supervisor -y
|
sudo apt-get install supervisor -y
|
||||||
|
|
||||||
sudo bash -c 'cat > /etc/supervisor/conf.d/E-Paper.conf' << EOF
|
sudo bash -c 'cat > /etc/supervisor/conf.d/E-Paper.conf' << EOF
|
||||||
[program:E-Paper]
|
[program:E-Paper]
|
||||||
command = sudo /usr/bin/python3.5 /home/pi/E-Paper-Master/Calendar/E-Paper.py
|
command = sudo /usr/bin/python3.5 /home/pi/E-Paper-Master/Calendar/E-Paper.py
|
||||||
stdout_logfile = /home/pi/E-Paper-Master/E-Paper.log
|
stdout_logfile = /home/pi/E-Paper-Master/E-Paper.log
|
||||||
stdout_logfile_maxbytes = 1MB
|
stdout_logfile_maxbytes = 1MB
|
||||||
stderr_logfile = /home/pi/E-Paper-Master/E-Paper-err.log
|
stderr_logfile = /home/pi/E-Paper-Master/E-Paper-err.log
|
||||||
stderr_logfile_maxbytes = 1MB
|
stderr_logfile_maxbytes = 1MB
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sudo service supervisor start E-Paper
|
sudo service supervisor start E-Paper
|
||||||
|
|
Loading…
Reference in a new issue