-
Notifications
You must be signed in to change notification settings - Fork 0
/
supervisord.conf
54 lines (50 loc) · 1.8 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
[program:ineedempathy8000]
environment=USE_PORT=8000,ENV=PROD
command=/var/www/ineedempathy/ineedempathy.pyz
process_name=%(program_name)s-%(process_num)s ; process_name expr (default %(program_name)s)
numprocs=1 ; number of processes copies to start (def 1)
directory=/var/www/ineedempathy ; directory to cwd to before exec (def no cwd)
autostart=true ; start at supervisord start (default: true)
startsecs=10 ; # of secs prog must stay up to be running (def. 1)
autorestart=unexpected ; when to restart if exited after running (def: unexpected)
user=web-runner ; setuid to this UNIX account to run the program
[program:ineedempathy8001]
environment=USE_PORT=8001,ENV=PROD
command=/var/www/ineedempathy/ineedempathy.pyz
process_name=%(program_name)s-%(process_num)s
numprocs=1
directory=/var/www/ineedempathy
autostart=true
startsecs=10
autorestart=unexpected
user=web-runner
[program:ineedempathy8002]
environment=USE_PORT=8002,ENV=PROD
command=/var/www/ineedempathy/ineedempathy.pyz
process_name=%(program_name)s-%(process_num)s
numprocs=1
directory=/var/www/ineedempathy
autostart=true
startsecs=10
autorestart=unexpected
user=web-runner
[program:ineedempathy8003]
environment=USE_PORT=8003,ENV=PROD
command=/var/www/ineedempathy/ineedempathy.pyz
process_name=%(program_name)s-%(process_num)s
numprocs=1
directory=/var/www/ineedempathy
autostart=true
startsecs=10
autorestart=unexpected
user=web-runner
[program:ineedempathy8004]
environment=USE_PORT=8004,ENV=PROD
command=/var/www/ineedempathy/ineedempathy.pyz
process_name=%(program_name)s-%(process_num)s
numprocs=1
directory=/var/www/ineedempathy
autostart=true
startsecs=10
autorestart=unexpected
user=web-runner