2016-12-18 19:52:32 +08:00
|
|
|
[supervisord]
|
|
|
|
nodaemon=true
|
|
|
|
|
2016-12-23 19:13:21 +08:00
|
|
|
[program:syslog-ng]
|
|
|
|
command=/usr/sbin/syslog-ng --foreground --no-caps
|
2016-12-18 19:52:32 +08:00
|
|
|
redirect_stderr=true
|
2016-12-23 19:13:21 +08:00
|
|
|
autostart=true
|
|
|
|
stdout_syslog=true
|
2016-12-18 19:52:32 +08:00
|
|
|
|
2016-12-25 17:03:37 +08:00
|
|
|
[group:sogo-group]
|
|
|
|
programs=reconf-domains,sogo
|
|
|
|
|
2016-12-18 19:52:32 +08:00
|
|
|
[program:sogo]
|
|
|
|
command=/usr/sbin/sogod
|
|
|
|
user=sogo
|
|
|
|
autorestart=true
|
2016-12-25 17:03:37 +08:00
|
|
|
priority=20
|
|
|
|
|
|
|
|
[program:reconf-domains]
|
|
|
|
command=/reconf-domains.sh
|
|
|
|
autorestart=true
|
|
|
|
priority=10
|
2016-12-18 19:52:32 +08: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 19:13:21 +08:00
|
|
|
[program:cron]
|
|
|
|
command=/usr/sbin/cron -f
|
2016-12-18 19:52:32 +08:00
|
|
|
autorestart=true
|
2016-12-20 22:24:33 +08:00
|
|
|
|
2017-01-21 18:47:51 +08:00
|
|
|
[program:sogo-webres]
|
|
|
|
command=/usr/bin/python -u -m SimpleHTTPServer 9192
|
|
|
|
directory=/usr/lib/GNUstep/SOGo/
|
|
|
|
user=sogo
|
|
|
|
autorestart=true
|
|
|
|
|
2016-12-25 17:03:37 +08:00
|
|
|
[inet_http_server]
|
|
|
|
port=9191
|
|
|
|
|
|
|
|
[rpcinterface:supervisor]
|
|
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
|
|
|
|
[supervisorctl]
|
|
|
|
serverurl=http://localhost:9191
|