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)
This commit is contained in:
Zev Benjamin
2013-09-23 11:36:24 -04:00
parent 871afde142
commit 0d0655ebdf

View File

@@ -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