[docker-database]: Start rsyslogd to allow supervisor to log to syslog (#890)

This commit is contained in:
Joe LeVeque 2017-08-15 10:38:49 -07:00 committed by GitHub
parent f938f3ecaf
commit 3a8f5be19a

View File

@ -3,9 +3,17 @@ logfile_maxbytes=1MB
logfile_backups=2 logfile_backups=2
nodaemon=true nodaemon=true
[program:rsyslogd]
command=/usr/sbin/rsyslogd -n
priority=1
autostart=true
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog
[program:redis-server] [program:redis-server]
command=/usr/bin/redis-server /etc/redis/redis.conf command=/usr/bin/redis-server /etc/redis/redis.conf
priority=1 priority=2
autostart=true autostart=true
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
@ -13,9 +21,8 @@ stderr_logfile=syslog
[program:configdb-load.sh] [program:configdb-load.sh]
command=/usr/bin/configdb-load.sh command=/usr/bin/configdb-load.sh
priority=2 priority=3
autostart=true autostart=true
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog