index with solr works.
[wolnelektury.git] / wolnelektury-celery.conf.template
index c5d24a4..c262c41 100644 (file)
@@ -3,12 +3,12 @@
 ; Put this in /etc/supervisor/conf.d
 ; =========================================
 
 ; 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
+[program:celery.%(project_name)s]
+command=%(path)s/ve/bin/python %(path)s/releases/current/%(project_name)s/manage.py celeryd --loglevel=INFO
 directory=%(path)s/releases/current/%(project_name)s
 user=%(user)s
 numprocs=2
 directory=%(path)s/releases/current/%(project_name)s
 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
 stdout_logfile=%(path)s/celeryd.log
 stderr_logfile=%(path)s/celeryd.log
 autostart=true