option to turn off ssify just for api + some optimizations
[wolnelektury.git] / wolnelektury-celery.conf.template
index 67ac74a..d36a08a 100644 (file)
@@ -4,8 +4,8 @@
 ; =========================================
 
 [program:celery.%(project_name)s]
 ; =========================================
 
 [program:celery.%(project_name)s]
-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
+command=%(path)s/ve/bin/celery -A wolnelektury worker -l info
+directory=%(path)s/releases/current/
 user=%(user)s
 numprocs=2
 process_name=wolnelektury-celery-%%(process_num)d
 user=%(user)s
 numprocs=2
 process_name=wolnelektury-celery-%%(process_num)d