You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 lines
1.1 KiB

;[program:rabbitmq]
;command:rabbitmq-server
;tdout_logfile=/var/log/rabbitmq.log
;stderr_logfile=/var/log/rabbitmq.log
;autostart=true
;autorestart=true
;startsecs=10
;priority=999
;[group:%(project_name)s]
;programs=gunicorn,celery
[program:uwsgi]
command = /usr/bin/uwsgi --ini %(project_path)s/uwsgi_prod.ini
stopasgroup = true
killasgroup = true
#[program:gunicorn]
#command=%(project_path)s/env/bin/gunicorn_django -c gunicorn.conf.py -p gunicorn.pid
#directory=%(project_path)s
#user=%(user)s
#autostart=true
#autorestart=true
#redirect_stderr=true
;[program:celery]
;command=%(project_path)s/env/bin/python manage.py celery worker -B -S djcelery.schedulers.DatabaseScheduler --loglevel=INFO
;directory=%(project_path)s
;user=ubuntu
;numprocs=1
;stdout_logfile=/var/log/celeryd.log
;stderr_logfile=/var/log/celeryd.log
;autostart=true
;autorestart=true
;startsecs=10
; Need to wait for currently executing tasks to finish at shutdown.
; Increase this if you have very long running tasks.
;stopwaitsecs = 600
; if rabbitmq is supervised, set its priority higher
; so it starts first
;priority=998