This repository was archived by the owner on Sep 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathsupervisord.conf
82 lines (62 loc) · 1.54 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
[unix_http_server]
file = /var/run/supervisor.sock
chmod = 0777
chown = nobody:nogroup
username = myuser
password = mypassword
[supervisorctl]
serverurl = unix:///var/run/supervisor.sock
username = myuser
password = mypassword
prompt = supervisor
[inet_http_server]
port = 0.0.0.0:2812
username = myuser
password = mypassword
[supervisord]
logfile = /var/log/supervisor/supervisord.log
logfile_maxbytes = 10MB
logfile_backups = 10
loglevel = info
pidfile = /var/run/supervisord.pid
nodaemon = true
minfds = 1024
minprocs = 200
umask = 022
identifier = supervisor
nocleanup = true
childlogdir = /var/log/supervisor/
[program:mysqld]
command=/usr/bin/mysqld_safe
redirect_stderr=true
autostart=true
autorestart=true
[program:httpd]
command=/usr/sbin/apachectl -D "FOREGROUND" -k start
redirect_stderr=true
autostart=true
autorestart=true
[program:zabbix-server]
command=/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
redirect_stderr=true
autostart=true
autorestart=true
stopasgroup=true
[program:zabbix-agentd]
command=/usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
redirect_stderr=true
autostart=true
autorestart=true
stopasgroup=true
[program:zabbix-java-gateway]
command=/etc/init.d/zabbix-java-gateway start
redirect_stderr=true
autostart=true
autorestart=true
stopasgroup=true
[group:base]
programs=mysqld,httpd
priority=100
[group:zabbix]
programs=zabbix-server,zabbix-agentd,zabbix-java-gateway
priority=999