-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsupervisord.conf
41 lines (33 loc) · 1.09 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
[supervisord]
logfile=log/supervisord.log
pidfile=run/supervisord.pid
nodaemon=true
childlogdir=log/sv_child
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock
[unix_http_server]
file=/tmp/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[program:waitress]
command=waitress-serve --unix-socket=run/flask_app.sock --asyncore-use-poll --unix-socket-perms=666 cesium_app.flask_app:app
environment=PYTHONUNBUFFERED=1
stdout_logfile=log/waitress.log
redirect_stderr=true
[program:nginx]
command=nginx -c nginx.conf -p . -g "daemon off;"
[program:message_proxy]
command=/usr/bin/env python services/message_proxy.py
environment=PYTHONUNBUFFERED=1
stdout_logfile=log/message_proxy.log
redirect_stderr=true
[program:websocket]
command=/usr/bin/env python services/websocket_server.py
environment=PYTHONUNBUFFERED=1
stdout_logfile=log/websocket_server.log
redirect_stderr=true
[program:authenticator]
command=/usr/bin/env python services/authenticator.py
environment=PYTHONUNBUFFERED=1
stdout_logfile=log/authenticator.log
redirect_stderr=true