puppet: Run sync-public-streams via supervisor.

(imported from commit f515cd36cd3138bcc8a13310276f3a6bb961ce33)
This commit is contained in:
Tim Abbott 2013-08-19 14:37:33 -04:00
parent b4adabfaf0
commit 9e6e57f349
1 changed files with 12 additions and 0 deletions

View File

@ -9,3 +9,15 @@ user=humbug ; setuid to this UNIX account to run the program
redirect_stderr=true ; redirect proc stderr to stdout (default false) redirect_stderr=true ; redirect proc stderr to stdout (default false)
stdout_logfile=/var/log/humbug/zmirror.log ; stdout log path, NONE for none; default AUTO stdout_logfile=/var/log/humbug/zmirror.log ; stdout log path, NONE for none; default AUTO
environment=HOME="/home/humbug",USER="humbug" environment=HOME="/home/humbug",USER="humbug"
[program:sync-public-streams]
command=python /home/humbug/humbug/bots/sync-public-streams
priority=200 ; 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/sync-public-streams.log ; stdout log path, NONE for none; default AUTO
environment=HOME="/home/humbug"