-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
supervisord.conf
167 lines (142 loc) · 4.34 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
[supervisorctl]
serverurl = unix:///tmp/supervisor.sock
[supervisord]
logfile=/var/log/supervisor/supervisor.log ; supervisord log file
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
nodaemon=true ; (start in foreground if true;default false)
minfds=1024 ; number of startup file descriptors
minprocs=200 ; number of process descriptors
user=root ; default user
childlogdir=/var/log/supervisor/ ; where child log files will live
;umask=022 ; (process file creation umask;default 022)
;identifier=supervisor ; (supervisord identifier, default is 'supervisor')
;directory=/tmp ; (default is not to cd during start)
;nocleanup=true ; (don't clean up tempfiles at start;default false)
;childlogdir=/tmp ; ('AUTO' child log dir, default $TEMP)
;environment=KEY=value ; (key value pairs to add to environment)
;strip_ansi=false ; (strip ansi escape codes in logs; default false)
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
[program:rsyslogd]
command=/usr/sbin/rsyslogd -n
process_name=%(program_name)s
autostart=true
autorestart=false
user=root
directory=/
priority=912
stdout_logfile=/var/log/%(program_name)s-stdout.log
stderr_logfile=/var/log/%(program_name)s-stderr.log
[program:cron]
command = /usr/sbin/cron -f
stdout_logfile = /var/log/%(program_name)s-stdout.log
stderr_logfile = /var/log/%(program_name)s-stderr.log
autostart=true
autorestart = false
[program:bind9]
autostart=true
autorestart = false
command=/etc/init.d/bind9 restart
[program:apache2]
autostart=true
autorestart = false
command=/etc/init.d/apache2 restart
[program:fail2ban]
autostart=true
autorestart = false
command = /etc/init.d/fail2ban restart
[program:denyhosts]
autostart=true
autorestart = false
command = /etc/init.d/denyhosts restart
[program:mailman]
autostart=true
autorestart = false
command=/usr/lib/mailman/bin/mailmanctl restart
[program:courier-imap]
command=/etc/init.d/courier-imap restart
priority=3
autorestart=false
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autostart = true
[program:courier-imap-ssl]
command=/etc/init.d/courier-imap-ssl restart
priority=3
autostart = true
autorestart=false
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:courier-authdaemon]
command=/etc/init.d/courier-authdaemon restart
priority=2
autostart = true
autorestart=false
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:saslauthd]
command=/etc/init.d/saslauthd restart
priority=1
autostart = true
autorestart=false
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:clamav]
command=/etc/init.d/clamav-daemon restart
priority=2
autostart = true
autorestart=false
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:freshclam]
command=/etc/init.d/clamav-freshclam restart
priority=2
autostart = true
autorestart=false
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:spamassasin]
command=/etc/init.d/spamassassin restart
priority=2
autostart = true
autorestart=false
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:amavis]
process_name = amavis
command = /etc/init.d/amavis restart
startsecs = 0
autorestart = false
priority = 20
[program:postfix]
process_name = postfix
command = /etc/init.d/postfix restart
startsecs = 0
autorestart = false
priority = 20
[program:haveged]
command=/etc/init.d/haveged restart
priority=3
autorestart=false
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autostart = true