Added rsyslog to enable container logging to stdout. Closes issue #1
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
[program:postfix]
|
||||
process_name = master
|
||||
command=/usr/sbin/postfix -c /etc/postfix start
|
||||
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
||||
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
||||
command=/usr/sbin/postfix -v -v -c /etc/postfix start
|
||||
startsecs=0
|
||||
autorestart=false
|
||||
|
||||
4
etc/supervisord.d/readlog.ini
Normal file
4
etc/supervisord.d/readlog.ini
Normal file
@@ -0,0 +1,4 @@
|
||||
[program:readlog]
|
||||
command=/usr/bin/tail -f /var/log/maillog
|
||||
stdout_logfile=/dev/fd/1
|
||||
stdout_logfile_maxbytes=0
|
||||
2
etc/supervisord.d/rsyslog.ini
Normal file
2
etc/supervisord.d/rsyslog.ini
Normal file
@@ -0,0 +1,2 @@
|
||||
[program:rsyslog]
|
||||
command=/usr/sbin/rsyslogd -n
|
||||
Reference in New Issue
Block a user