forked from jurver98/burst_explorer
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsupervisord.conf
61 lines (53 loc) · 1.26 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
[unix_http_server]
file = /tmp/supervisor.sock
chmod = 0700
[inet_http_server]
port = 9001
username = dummy
password = changeme
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl = unix:///tmp/supervisor.sock
[supervisord]
user = os_username_here
nodaemon = true
pidfile = /tmp/supervisord.pid
logfile = /dev/null
loglevel = error
logfile_maxbytes = 0
[program:Explorer]
directory=/path/to/your/explorer/
command = gunicorn config.wsgi -c gunicorn.conf.py
autostart = true
autorestart = true
startsecs = 1
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:Peers]
directory=/path/to/your/explorer/
command = python3 manage.py peers
autostart = true
autorestart = true
startsecs = 1
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:Tasks]
directory=/path/to/your/explorer/
command = python3 manage.py tasks
autostart = true
autorestart = true
startsecs = 1
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:SNR]
command =bash -c "/path/to/your/snr/runSNR.sh"
autostart = true
autorestart = true
startsecs = 1
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0