Skip to content

Commit

Permalink
Add django_beanstalkd config file for supervisor
Browse files Browse the repository at this point in the history
  • Loading branch information
Brightcells committed Nov 23, 2016
1 parent cf14ecc commit 0736c76
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions scripts/supervisor/django_beanstalkd_example.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[program:django_beanstalkd]
command=/home/<scr1>/python /home/<src2>/project/manage.py beanstalk_worker -w 5
autostart=true
autorestart=true
startretries=3
stdout_logfile=/var/log/django_beanstalkd/stdout.log
stdout_logfile_maxbytes=1MB
stdout_logfile_backups=10
stdout_capture_maxbytes=1MB
stderr_logfile=/var/log/django_beanstalkd/stderr.log
stderr_logfile_maxbytes=1MB
stderr_logfile_backups=10
stderr_capture_maxbytes=1MB
exitcodes=0,1,2
stopsignal=KILL
stopasgroup=true
killasgroup=true
user=<user>

0 comments on commit 0736c76

Please sign in to comment.