-
Notifications
You must be signed in to change notification settings - Fork 12
/
supervisord.conf
90 lines (81 loc) · 2.57 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
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
[supervisord]
nodaemon=true
[program:nginx]
command=/usr/sbin/nginx -g "daemon off;"
priority=900
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
username=frappe
autorestart=true
[program:bench-repo-frappe-web]
command=/home/frappe/bench-repo/env/bin/uwsgi --http 0.0.0.0:8000 -p {{WORKER}} --wsgi-file /home/frappe/bench-repo/apps/frappe/frappe/app.py
priority=4
autostart=true
autorestart=true
stdout_logfile=/home/frappe/bench-repo/logs/web.log
stderr_logfile=/home/frappe/bench-repo/logs/web.error.log
user=frappe
directory=/home/frappe/bench-repo/sites
[program:bench-repo-frappe-schedule]
command=/usr/local/bin/bench schedule
priority=3
autostart=true
autorestart=true
stdout_logfile=/home/frappe/bench-repo/logs/schedule.log
stderr_logfile=/home/frappe/bench-repo/logs/schedule.error.log
user=frappe
directory=/home/frappe/bench-repo
[program:bench-repo-frappe-default-worker]
command=/usr/local/bin/bench worker --queue default
priority=4
autostart=true
autorestart=true
stdout_logfile=/home/frappe/bench-repo/logs/worker.log
stderr_logfile=/home/frappe/bench-repo/logs/worker.error.log
user=frappe
stopwaitsecs=1560
directory=/home/frappe/bench-repo
killasgroup=true
numprocs=1
process_name=%(program_name)s-%(process_num)d
[program:bench-repo-frappe-short-worker]
command=/usr/local/bin/bench worker --queue short
priority=4
autostart=true
autorestart=true
stdout_logfile=/home/frappe/bench-repo/logs/worker.log
stderr_logfile=/home/frappe/bench-repo/logs/worker.error.log
user=frappe
stopwaitsecs=360
directory=/home/frappe/bench-repo
killasgroup=true
numprocs=1
process_name=%(program_name)s-%(process_num)d
[program:bench-repo-frappe-long-worker]
command=/usr/local/bin/bench worker --queue long
priority=4
autostart=true
autorestart=true
stdout_logfile=/home/frappe/bench-repo/logs/worker.log
stderr_logfile=/home/frappe/bench-repo/logs/worker.error.log
user=frappe
stopwaitsecs=1560
directory=/home/frappe/bench-repo
killasgroup=true
numprocs=1
process_name=%(program_name)s-%(process_num)d
[program:bench-repo-node-socketio]
command=/usr/bin/node /home/frappe/bench-repo/apps/frappe/socketio.js
priority=4
autostart=true
autorestart=true
stdout_logfile=/home/frappe/bench-repo/logs/node-socketio.log
stderr_logfile=/home/frappe/bench-repo/logs/node-socketio.error.log
user=frappe
directory=/home/frappe/bench-repo
[group:bench-repo-web]
programs=bench-repo-frappe-web,bench-repo-node-socketio
[group:bench-repo-workers]
programs=bench-repo-frappe-schedule,bench-repo-frappe-default-worker,bench-repo-frappe-short-worker,bench-repo-frappe-long-worker