This repository has been archived by the owner on Jan 22, 2020. It is now read-only.
forked from mingfang/docker-openstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsupervisord-openstack.conf
124 lines (95 loc) · 2.13 KB
/
supervisord-openstack.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
[supervisord]
nodaemon=true
[program:update-my_ip]
command=/docker-openstack/update-my_ip.sh
exitcodes=0
autorestart=false
startretries=0
[program:sshd]
command=/usr/sbin/sshd -D
autorestart=true
[program:mysql]
command=/usr/bin/mysqld_safe
autorestart=true
priority=10
[program:memcached]
command=/usr/bin/memcached -u nova
autorestart=true
priority=10
[program:rabbitmq]
command=/usr/sbin/rabbitmq-server
autorestart=true
priority=10
environment=RABBITMQ_NODENAME="rabbit@localhost",RABBITMQ_NODE_IP_ADDRESS="127.0.0.1",ERL_EPMD_ADDRESS="127.0.0.1"
[program:keystone]
command=/usr/bin/keystone-all
autorestart=true
priority=20
[program:nova-api]
command=/usr/bin/nova-api
autorestart=true
priority=30
[program:nova-network]
command=/usr/bin/nova-network
autorestart=true
priority=30
[program:nova-scheduler]
command=/usr/bin/nova-scheduler
autorestart=true
priority=30
[program:nova-cert]
command=/usr/bin/nova-cert
autorestart=true
priority=30
[program:nova-consoleauth]
command=/usr/bin/nova-consoleauth
autorestart=true
priority=30
[program:nova-conductor]
command=/usr/bin/nova-conductor
autorestart=true
priority=30
[program:glance-registry]
command=/usr/bin/glance-registry
autorestart=true
priority=30
[program:glance-api]
command=/usr/bin/glance-api
autorestart=true
priority=30
[program:heat-engine]
command=/usr/bin/heat-engine
autorestart=true
priority=30
[program:heat-api]
command=/usr/bin/heat-api
autorestart=true
priority=30
#[program:cinder-api]
#command=/usr/bin/cinder-api
#autorestart=true
#priority=30
#[program:cinder-scheduler]
#command=/usr/bin/cinder-scheduler
#autorestart=true
#priority=30
[program:apache2]
command=/usr/sbin/apache2 -DFOREGROUND
autorestart=true
priority=40
environment=APACHE_RUN_DIR="/var/run/apache2",APACHE_LOG_DIR="/var/log/apache2",APACHE_RUN_USER="www-data",APACHE_RUN_GROUP="www-data"
#Compute Node Begin
[program:nova-compute]
command=/usr/bin/nova-compute
autorestart=true
priority=40
[program:docker]
command=/docker-openstack/wrapdocker
autorestart=true
priority=30
startsecs=2
[program:docker-registry]
command=/docker-openstack/docker-registry.sh
autorestart=true
priority=40
#Compute Node End