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