X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cc49ae50f55e14465c700350157478f79fd13d33..7874f05f4b3c56d0623ac6f87981249c411b8302:/wolnelektury-celery.conf.template?ds=inline diff --git a/wolnelektury-celery.conf.template b/wolnelektury-celery.conf.template index c5d24a4ca..4d45ec70e 100644 --- a/wolnelektury-celery.conf.template +++ b/wolnelektury-celery.conf.template @@ -3,12 +3,12 @@ ; Put this in /etc/supervisor/conf.d ; ========================================= -[program:%(project_name)s-celery] -command=%(path)s/bin/python %(path)s/releases/current/%(project_name)s/manage.py celeryd --loglevel=INFO -directory=%(path)s/releases/current/%(project_name)s +[program:celery.%(project_name)s] +command=%(path)s/ve/bin/python %(path)s/releases/current/manage.py celeryd --loglevel=INFO +directory=%(path)s/releases/current/ user=%(user)s numprocs=2 -process_name=wolnelektury-celery-%%(process_num) +process_name=wolnelektury-celery-%%(process_num)d stdout_logfile=%(path)s/celeryd.log stderr_logfile=%(path)s/celeryd.log autostart=true