2017-08-07 15:39:40 +00:00
|
|
|
# each program entry below is a separate terminal command.
|
|
|
|
# Each command MUST run in the foreground and stay running.
|
|
|
|
# If the command ever exits, the supervisor daemon will automatically run it again.
|
|
|
|
# Programs can be controlled like this: 'supervisorctl start fail2ban' 'supervisorctl stop fail2ban'
|
|
|
|
# supervisor writes program statuses in /var/log/supervisor
|
|
|
|
|
|
|
|
[program:mailserver]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=true
|
|
|
|
autorestart=false
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
command=/usr/local/bin/start-mailserver.sh
|
|
|
|
|
|
|
|
[program:cron]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
command=/usr/sbin/cron -f
|
|
|
|
|
|
|
|
[program:rsyslog]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
command=/usr/sbin/rsyslogd -n
|
|
|
|
|
|
|
|
[program:fail2ban]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
command=/usr/local/bin/fail2ban-wrapper.sh
|
|
|
|
|
|
|
|
[program:opendkim]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
command=/usr/sbin/opendkim -f
|
|
|
|
|
|
|
|
[program:opendmarc]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
command=/usr/sbin/opendmarc -f -p "inet:8893@localhost" -P /var/run/opendmarc/opendmarc.pid
|
|
|
|
|
|
|
|
[program:dovecot]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
command=/usr/sbin/dovecot -F -c /etc/dovecot/dovecot.conf
|
|
|
|
|
|
|
|
[program:clamav]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
command=/usr/sbin/clamd -c /etc/clamav/clamd.conf
|
|
|
|
|
|
|
|
[program:postgrey]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/mail/mail.log
|
|
|
|
stderr_logfile=/var/log/mail/mail.log
|
2018-11-01 18:32:36 +00:00
|
|
|
command=/usr/sbin/postgrey --inet=127.0.0.1:10023 --syslog-facility=mail --delay=%(ENV_POSTGREY_DELAY)s --max-age=%(ENV_POSTGREY_MAX_AGE)s --auto-whitelist-clients=%(ENV_POSTGREY_AUTO_WHITELIST_CLIENTS)s --greylist-text="%(ENV_POSTGREY_TEXT)s"
|
2017-08-07 15:39:40 +00:00
|
|
|
|
|
|
|
[program:amavis]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
command=/usr/sbin/amavisd-new foreground
|
|
|
|
|
|
|
|
[program:fetchmail]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
user=fetchmail
|
2017-10-04 20:10:18 +00:00
|
|
|
command=/usr/bin/fetchmail -f /etc/fetchmailrc -v --nodetach --daemon %(ENV_FETCHMAIL_POLL)s -i /var/lib/fetchmail/.fetchmail-UIDL-cache --pidfile /var/run/fetchmail/fetchmail.pid
|
2017-08-07 15:39:40 +00:00
|
|
|
|
|
|
|
[program:postfix]
|
|
|
|
startsecs=0
|
2021-08-17 13:39:30 +00:00
|
|
|
stopwaitsecs=55
|
2017-08-07 15:39:40 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
command=/usr/local/bin/postfix-wrapper.sh
|
|
|
|
|
2017-10-10 06:15:18 +00:00
|
|
|
[program:changedetector]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2017-10-10 06:15:18 +00:00
|
|
|
autostart=false
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
2017-10-18 05:43:30 +00:00
|
|
|
command=/usr/local/bin/check-for-changes.sh
|
2018-02-06 07:11:57 +00:00
|
|
|
|
|
|
|
[program:postsrsd]
|
|
|
|
startsecs=0
|
2021-05-06 17:04:24 +00:00
|
|
|
stopwaitsecs=55
|
2018-03-18 19:15:06 +00:00
|
|
|
autostart=false
|
2018-02-06 07:11:57 +00:00
|
|
|
autorestart=unexpected
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
command=/usr/local/bin/postsrsd-wrapper.sh
|
2021-05-19 19:18:06 +00:00
|
|
|
|
|
|
|
[program:update-check]
|
|
|
|
startsecs=0
|
|
|
|
stopwaitsecs=55
|
|
|
|
autostart=false
|
|
|
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
|
|
|
command=/bin/bash -l -c /usr/local/bin/update-check.sh
|