-
Notifications
You must be signed in to change notification settings - Fork 10
/
supervisord.conf
62 lines (52 loc) · 1.75 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
[supervisorctl]
[inet_http_server]
port = 192.168.50.4:9001
[program:zookeeper]
command=/home/vagrant/zookeeper/bin/zkServer.sh start-foreground
directory=/home/vagrant/zookeeper
autorestart=true
priority=10
startsecs=3
user=vagrant
stdout_logfile=/var/log/zookeeper/zookeeper.log
redirect_stderr=true
[program:coordinator]
command=java -Xmx500m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath lib/*:config/coordinator io.druid.cli.Main server coordinator
directory=/home/vagrant/druid-services
autorestart=true
priority=20
user=vagrant
stdout_logfile=/var/log/druid/coordinator.log
redirect_stderr=true
[program:historical]
command=java -Xmx500m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath lib/*:config/historical io.druid.cli.Main server historical
directory=/home/vagrant/druid-services
autorestart=true
priority=30
user=vagrant
stdout_logfile=/var/log/druid/historical.log
redirect_stderr=true
[program:broker]
command=java -Xmx1g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath lib/*:config/broker io.druid.cli.Main server broker
directory=/home/vagrant/druid-services
autorestart=true
priority=40
user=vagrant
stdout_logfile=/var/log/druid/broker.log
redirect_stderr=true
[program:realtime]
command=java -Xmx500m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath lib/*:config/realtime io.druid.cli.Main server realtime
directory=/home/vagrant/druid-services
autorestart=true
priority=40
user=vagrant
stdout_logfile=/var/log/druid/realtime.log
redirect_stderr=true
[program:overlord]
command=java -Xmx500m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath lib/*:config/overlord io.druid.cli.Main server overlord
directory=/home/vagrant/druid-services
autorestart=true
priority=40
user=vagrant
stdout_logfile=/var/log/druid/overlord.log
redirect_stderr=true