docker-nagios-4/conf/supervisor-all.conf

30 lines
688 B
Plaintext

[supervisord]
nodaemon = true
logfile = /var/log/supervisord.log
logfile_backups = 0
[program:apache]
command = /bin/bash -c "source /etc/apache2/envvars && exec /usr/sbin/apache2 -DFOREGROUND"
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:nagios]
user = nagios
command = /usr/sbin/nagios /etc/nagios/nagios.cfg
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
#[program:nsca]
#user = nagios
#command = /usr/local/bin/nsca -c /etc/nagios/nsca.cfg
#stdout_logfile=/dev/stdout
#stdout_logfile_maxbytes=0
#stderr_logfile=/dev/stderr
#stderr_logfile_maxbytes=0