Thank you I will try it tonight!
Quote:
Originally Posted by zugg
Debian / Ubuntu:
Code:
sudo apt-get update
sudo apt-get install supervisor
sudo nano /etc/supervisor/conf.d/capturbate.conf
Code:
[program:capturebate]
directory=/home/deploy/CaptureBate
command=python /home/deploy/CaptureBate/main.py
autostart=true
autorestart=true
stderr_logfile=/var/log/capturbate.err.log
stdout_logfile=/var/log/capturbate.out.log
Change the directory and command directory to where your directory is.
Then run:
Code:
sudo supervisorctl reread
Should tell you that all is fine.
Then run:
Code:
sudo supervisorctl update
And it should be started, to check run:
And it should output something like:
Code:
capturebate RUNNING pid 24295, uptime 0:01:46
|