-
Notifications
You must be signed in to change notification settings - Fork 10
/
supervisor.example.conf
35 lines (32 loc) · 1023 Bytes
/
supervisor.example.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
[program:politicos-api-8000]
directory=politicos-api
command=python3 server.py --debug=False --port=8000
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/log/politicos-api.access.log
stderr_logfile=/var/log/politicos-api.error.log
[program:politicos-api-8001]
directory=politicos-api
command=python3 server.py --debug=False --port=8001
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/log/politicos-api.access.log
stderr_logfile=/var/log/politicos-api.error.log
[program:politicos-api-8002]
directory=politicos-api
command=python3 server.py --debug=False --port=8002
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/log/politicos-api.access.log
stderr_logfile=/var/log/politicos-api.error.log
[program:politicos-api-8003]
directory=politicos-api
command=python3 server.py --debug=False --port=8003
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/log/politicos-api.access.log
stderr_logfile=/var/log/politicos-api.error.log