[SOGo] Log to a pipe to not keep logs in a container
This commit is contained in:
@@ -3,9 +3,11 @@ nodaemon=true
|
||||
|
||||
[program:syslog-ng]
|
||||
command=/usr/sbin/syslog-ng --foreground --no-caps
|
||||
redirect_stderr=true
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
autostart=true
|
||||
stdout_syslog=true
|
||||
priority=1
|
||||
|
||||
[program:cron]
|
||||
@@ -22,22 +24,24 @@ priority=4
|
||||
|
||||
[program:reconf-domains]
|
||||
command=/reconf-domains.sh
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
priority=3
|
||||
autorestart=true
|
||||
|
||||
[program:sogo]
|
||||
command="/usr/sbin/sogod"
|
||||
user=sogo
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
autorestart = unexpected
|
||||
autostart = false
|
||||
priority=5
|
||||
|
||||
[program:sogo-syslog]
|
||||
command=/usr/bin/tail -f /var/log/combined.log
|
||||
stdout_logfile=/dev/fd/1
|
||||
stdout_logfile_maxbytes=0
|
||||
priority=6
|
||||
|
||||
[inet_http_server]
|
||||
port=9191
|
||||
|
||||
|
Reference in New Issue
Block a user