From 0d0655ebdf540b43b1895895ef116fd6bccba4fe Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Mon, 23 Sep 2013 11:36:24 -0400 Subject: [PATCH] puppet: Fix our supervisor worker configuration * I forgot to add a worker for user_activity_interval * user_activity_interval and user_presence weren't in the humbug-workers group (imported from commit 61c29e54a0dff621a913b3e8491db41f4d0a3909) --- .../zulip/files/supervisor/conf.d/humbug.conf | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/servers/puppet/modules/zulip/files/supervisor/conf.d/humbug.conf b/servers/puppet/modules/zulip/files/supervisor/conf.d/humbug.conf index 55a1ce5bfa..9b35d53bf1 100644 --- a/servers/puppet/modules/zulip/files/supervisor/conf.d/humbug.conf +++ b/servers/puppet/modules/zulip/files/supervisor/conf.d/humbug.conf @@ -66,6 +66,18 @@ redirect_stderr=true ; redirect proc stderr to stdout (default false) stdout_logfile=/var/log/humbug/events-user-activity.log ; stdout log path, NONE for none; default AUTO directory=/home/humbug/humbug-deployments/current/ +[program:humbug-events-user-activity-interval] +command=python /home/humbug/humbug-deployments/current/manage.py process_queue user_activity_interval +priority=300 ; the relative start priority (default 999) +autostart=true ; start at supervisord start (default: true) +autorestart=true ; whether/when to restart (default: unexpected) +stopsignal=TERM ; signal used to kill process (default TERM) +stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10) +user=humbug ; setuid to this UNIX account to run the program +redirect_stderr=true ; redirect proc stderr to stdout (default false) +stdout_logfile=/var/log/humbug/events-user-activity-interval.log ; stdout log path, NONE for none; default AUTO +directory=/home/humbug/humbug-deployments/current/ + [program:humbug-events-user-presence] command=python /home/humbug/humbug-deployments/current/manage.py process_queue user_presence priority=300 ; the relative start priority (default 999) @@ -119,7 +131,7 @@ directory=/home/humbug/humbug-deployments/current/ ; process groups. [group:humbug-workers] -programs=humbug-events-user-activity,humbug-events-signups,humbug-events-confirmation-emails,humbug-events-missedmessage_reminders ; each refers to 'x' in [program:x] definitions +programs=humbug-events-user-activity,humbug-events-user-activity-interval,humbug-events-user-presence,humbug-events-signups,humbug-events-confirmation-emails,humbug-events-missedmessage_reminders ; each refers to 'x' in [program:x] definitions ; The [include] section can just contain the "files" setting. This ; setting can list multiple files (separated by whitespace or