-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsupervisord.datawinner.conf
146 lines (134 loc) · 5.42 KB
/
supervisord.datawinner.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
[unix_http_server]
file=./tmp/supervisor.sock ; (the path to the socket file)
[inet_http_server] ; inet (TCP) server disabled by default
port=127.0.0.1:7010 ; (ip_address:port specifier, *:port for all iface)
[supervisord]
logfile=./logs/supervisord.log ; (main log file;default $CWD/supervisord.log)
logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=10 ; (num of main logfile rotation backups;default 10)
loglevel=info ; (log level;default info; others: debug,warn,trace)
pidfile=./tmp/pids/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=false ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200 ; (min. avail process descriptors;default 200)
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=http://127.0.0.1:7010 ; use an http:// url to specify an inet socket
[program:smpp_worker_airtel_mad]
numprocs=1
numprocs_start=1
process_name=%(program_name)s_%(process_num)s
command=twistd -n
--pidfile=./tmp/pids/%(program_name)s_%(process_num)s.pid
start_worker
--worker_class=vumi.workers.smpp.topic_worker.TopicSmppWorker
--config=./config/datawinner_airtel_mad_1_smpp.yaml
--vhost=/develop
environment=DJANGO_SETTINGS_MODULE=environments.develop
stdout_logfile=./logs/%(program_name)s_%(process_num)s.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=10
stderr_logfile=./logs/%(program_name)s_%(process_num)s.err
stderr_logfile_maxbytes=10MB
stderr_logfile_backups=10
autorestart=true
[program:smpp_transport_airtel_mad_1]
numprocs=1
numprocs_start=1
process_name=%(program_name)s_%(process_num)s
command=twistd -n
--pidfile=./tmp/pids/%(program_name)s_%(process_num)s.pid
start_worker
--worker_class=vumi.workers.smpp.topic_transport.TopicSmppTransport
--vhost=/develop
--config=./config/datawinner_airtel_mad_1_smpp.yaml
--config_smpp_offset=%(process_num)s
--config_smpp_increment=10
environment=DJANGO_SETTINGS_MODULE=environments.develop
stdout_logfile=./logs/%(program_name)s_%(process_num)s.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=10
stderr_logfile=./logs/%(program_name)s_%(process_num)s.err
stderr_logfile_maxbytes=10MB
stderr_logfile_backups=10
autorestart=true
[program:smpp_transport_airtel_mad_2]
numprocs=1
numprocs_start=1
process_name=%(program_name)s_%(process_num)s
command=twistd -n
--pidfile=./tmp/pids/%(program_name)s_%(process_num)s.pid
start_worker
--worker_class=vumi.workers.smpp.topic_transport.TopicSmppTransport
--vhost=/develop
--config=./config/datawinner_airtel_mad_2_smpp.yaml
--config_smpp_offset=%(process_num)s
--config_smpp_increment=10
environment=DJANGO_SETTINGS_MODULE=environments.develop
stdout_logfile=./logs/%(program_name)s_%(process_num)s.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=10
stderr_logfile=./logs/%(program_name)s_%(process_num)s.err
stderr_logfile_maxbytes=10MB
stderr_logfile_backups=10
autorestart=true
[program:smpp_worker_unicel]
numprocs=1
numprocs_start=1
process_name=%(program_name)s_%(process_num)s
command=twistd -n
--pidfile=./tmp/pids/%(program_name)s_%(process_num)s.pid
start_worker
--worker_class=vumi.workers.smpp.topic_worker.TopicSmppWorker
--config=./config/datawinner_unicel_india_1_smpp.yaml
--vhost=/develop
environment=DJANGO_SETTINGS_MODULE=environments.develop
stdout_logfile=./logs/%(program_name)s_%(process_num)s.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=10
stderr_logfile=./logs/%(program_name)s_%(process_num)s.err
stderr_logfile_maxbytes=10MB
stderr_logfile_backups=10
autorestart=true
[program:smpp_transport_unicel_india_1]
numprocs=1
numprocs_start=1
process_name=%(program_name)s_%(process_num)s
command=twistd -n
--pidfile=./tmp/pids/%(program_name)s_%(process_num)s.pid
start_worker
--worker_class=vumi.workers.smpp.topic_transport.TopicSmppTransport
--vhost=/develop
--config=./config/datawinner_unicel_india_1_smpp.yaml
--config_smpp_offset=%(process_num)s
--config_smpp_increment=10
environment=DJANGO_SETTINGS_MODULE=environments.develop
stdout_logfile=./logs/%(program_name)s_%(process_num)s.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=10
stderr_logfile=./logs/%(program_name)s_%(process_num)s.err
stderr_logfile_maxbytes=10MB
stderr_logfile_backups=10
autorestart=true
[program:smpp_transport_unicel_india_2]
numprocs=1
numprocs_start=1
process_name=%(program_name)s_%(process_num)s
command=twistd -n
--pidfile=./tmp/pids/%(program_name)s_%(process_num)s.pid
start_worker
--worker_class=vumi.workers.smpp.topic_transport.TopicSmppTransport
--vhost=/develop
--config=./config/datawinner_unicel_india_2_smpp.yaml
--config_smpp_offset=%(process_num)s
--config_smpp_increment=10
environment=DJANGO_SETTINGS_MODULE=environments.develop
stdout_logfile=./logs/%(program_name)s_%(process_num)s.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=10
stderr_logfile=./logs/%(program_name)s_%(process_num)s.err
stderr_logfile_maxbytes=10MB
stderr_logfile_backups=10
autorestart=true
144,1 Bot