-
Notifications
You must be signed in to change notification settings - Fork 2
/
supervisord.conf
53 lines (45 loc) · 1.26 KB
/
supervisord.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[supervisord]
nodaemon=true
[program:postfix]
command = /usr/sbin/postfix -c /etc/postfix start
process_name = master
startsecs = 0
autorestart=false
priority = 10
[program:rsyslog]
command=/usr/sbin/rsyslogd -n
priority = 1
[program:opendkim]
command=/usr/sbin/opendkim -f
priority = 2
[program:tail]
command=tail -f /var/log/mail.log
priority = 20
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:spamd]
process_name = spamd
command=/usr/sbin/spamd --pidfile=/var/run/spamd.pid --create-prefs --max-children 5 --helper-home-dir -x -u debian-spamd
pidfile = /var/run/spamd.pid
autorestart = true
#[program:spamass-milter]
#process_name=spamass-milter
#priority=10
#command=/usr/sbin/spamass-milter -p /var/spool/postfix/spamass/spamass.sock -u spamass-milter -i 127.0.0.1
#pidfile = /var/run/spamass-milter.pid
#user=spamass-milter
# FIxme - this would be a nicer approach but doesn't work since socket needs chmod too
[program:spamass-milter]
process_name=spamass-milter
priority=5
command=/etc/init.d/spamass-milter start
startsecs=0
autorestart=false
[program:dovecot]
command=/usr/sbin/dovecot -c /etc/dovecot/dovecot.conf -F
priority=10
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0