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
|
|
|
|
|
|
|
[program:sogo]
|
|
|
|
command=/usr/sbin/sogod
|
|
|
|
user=sogo
|
|
|
|
autorestart=true
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
|
#[unix_http_server]
|
|
|
|
#file=/var/run/controller/supervisord.sock
|
|
|
|
#chown=www-data:nogroup
|