-
Notifications
You must be signed in to change notification settings - Fork 995
/
supervisord.conf
83 lines (77 loc) · 2.23 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
#[program:wechatspider.0fenbei.com]
#command=/usr/bin/python /var/www/0fenbei/wechat-spider/manage.py runserver 0.0.0.0:8090
#umask=022
#user=ripple
#startsecs=0
#stopwaitsecs=0
#autostart=true
#autorestart=true
#stdout_logfile=/var/log/wechatspider/wechatspider.stdout.log
#stderr_logfile=/var/log/wechatspider/wechatspider.stderr.log
#stopsignal=KILL
#killasgroup=true
[program:uwsgi-wechatspider.0fenbei.com]
command=/usr/bin/uwsgi --ini /var/www/0fenbei/wechat-spider/uwsgi.ini
directory=/var/www/0fenbei/wechat-spider
umask=022
user=ripple
startsecs=0
stopwaitsecs=0
autostart=true
autorestart=true
stdout_logfile=/var/log/bowenpay/wechatspider.stdout.log
stderr_logfile=/var/log/bowenpay/wechatspider.stderr.log
stopsignal=QUIT
killasgroup=true
[program:wechatspider_scheduler]
command=/usr/bin/python /var/www/0fenbei/wechat-spider/bin/scheduler.py
umask=022
user=ripple
startsecs=0
stopwaitsecs=0
autostart=true
autorestart=true
stdout_logfile=/var/log/wechatspider/wechatspider_scheduler.stdout.log
stderr_logfile=/var/log/wechatspider/wechatspider_scheduler.stderr.log
stopsignal=KILL
killasgroup=true
[program:wechatspider_downloader]
command=/usr/bin/python /var/www/0fenbei/wechat-spider/bin/downloader.py
umask=022
user=root
startsecs=0
stopwaitsecs=0
autostart=true
autorestart=true
stdout_logfile=/var/log/wechatspider/wechatspider_downloader.stdout.log
stderr_logfile=/var/log/wechatspider/wechatspider_downloader.stderr.log
stopsignal=KILL
killasgroup=true
process_name=%(process_num)s
numprocs=2
[program:wechatspider_extractor]
command=/usr/bin/python /var/www/0fenbei/wechat-spider/bin/extractor.py
umask=022
user=ripple
startsecs=0
stopwaitsecs=0
autostart=true
autorestart=true
stdout_logfile=/var/log/wechatspider/wechatspider_extractor.stdout.log
stderr_logfile=/var/log/wechatspider/wechatspider_extractor.stderr.log
stopsignal=KILL
killasgroup=true
process_name=%(process_num)s
numprocs=2
[program:wechatspider_processor]
command=/usr/bin/python /var/www/0fenbei/wechat-spider/bin/processor.py
umask=022
user=ripple
startsecs=0
stopwaitsecs=0
autostart=true
autorestart=true
stdout_logfile=/var/log/wechatspider/wechatspider_processor.stdout.log
stderr_logfile=/var/log/wechatspider/wechatspider_processor.stderr.log
stopsignal=KILL
killasgroup=true