2016-12-18 12:52:32 +01:00
|
|
|
[supervisord]
|
|
|
|
nodaemon=true
|
|
|
|
|
2016-12-23 12:13:21 +01:00
|
|
|
[program:syslog-ng]
|
|
|
|
command=/usr/sbin/syslog-ng --foreground --no-caps
|
2016-12-18 12:52:32 +01:00
|
|
|
redirect_stderr=true
|
2016-12-23 12:13:21 +01:00
|
|
|
autostart=true
|
|
|
|
stdout_syslog=true
|
2016-12-18 12:52:32 +01:00
|
|
|
|
2016-12-25 10:03:37 +01:00
|
|
|
[group:sogo-group]
|
|
|
|
programs=reconf-domains,sogo
|
|
|
|
|
2016-12-18 12:52:32 +01:00
|
|
|
[program:sogo]
|
|
|
|
command=/usr/sbin/sogod
|
|
|
|
user=sogo
|
|
|
|
autorestart=true
|
2016-12-25 10:03:37 +01:00
|
|
|
priority=20
|
|
|
|
|
|
|
|
[program:reconf-domains]
|
|
|
|
command=/reconf-domains.sh
|
|
|
|
autorestart=true
|
|
|
|
priority=10
|
2016-12-18 12:52:32 +01:00
|
|
|
|
|
|
|
[program:sogo-syslog]
|
|
|
|
command=/usr/bin/tail -f /var/log/syslog -f /var/log/sogo/sogo.log
|
|
|
|
stdout_logfile=/dev/fd/1
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
|
2016-12-23 12:13:21 +01:00
|
|
|
[program:cron]
|
|
|
|
command=/usr/sbin/cron -f
|
2016-12-18 12:52:32 +01:00
|
|
|
autorestart=true
|
2016-12-20 15:24:33 +01:00
|
|
|
|
2016-12-25 10:03:37 +01:00
|
|
|
[inet_http_server]
|
|
|
|
port=9191
|
|
|
|
|
|
|
|
[rpcinterface:supervisor]
|
|
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
|
|
|
|
[supervisorctl]
|
|
|
|
serverurl=http://localhost:9191
|