From 5023739bd1ee5045b6bff317c931bad68d3592f9 Mon Sep 17 00:00:00 2001 From: Bryan Date: Thu, 2 Jan 2014 14:19:42 -0500 Subject: [PATCH] guessing how to run beat from supervisor. maybe it works? --- confs/prod/supervisord.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/confs/prod/supervisord.conf b/confs/prod/supervisord.conf index 39c03c0..240df05 100644 --- a/confs/prod/supervisord.conf +++ b/confs/prod/supervisord.conf @@ -30,3 +30,10 @@ stdout_logfile=/var/www/karmaworld/var/log/celeryd.log priority = 2 stopsignal = QUIT +[program:beat] +command=/var/www/karmaworld/manage.py celery beat --pidfile=/var/www/karmaworld/var/run/beat.pid -l info +autorestart = true +redirect_stderr = true +stdout_logfile=/var/www/karmaworld/var/log/beat.log +priority = 2 +stopsignal = QUIT -- 2.25.1