View Single Post
  #20  
Old 12-08-2014, 11:40 PM
zugg zugg is offline
Junior Member
 
Join Date: Mar 2014
Posts: 10
zugg is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Quote:
Originally Posted by flipper2011 View Post
Would you be so kind and explain EXACTLY how to use this, i'm new to Linux and read a little about it, but not sure how to implement this for this specific application. Can you give me a short tutorial how to do it.

Thanks!!
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:

Code:
sudo supervisorctl
And it should output something like:
Code:
capturebate                      RUNNING    pid 24295, uptime 0:01:46
Reply With Quote