mirror of https://github.com/zulip/zulip.git
puppet: Run sync-public-streams via supervisor.
(imported from commit f515cd36cd3138bcc8a13310276f3a6bb961ce33)
This commit is contained in:
parent
b4adabfaf0
commit
9e6e57f349
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue