intimate/supervisor_conf/twitch_extractor_p1.conf_eg

14 lines
480 B
Plaintext
Raw Normal View History

2020-08-17 06:50:19 +00:00
[supervisord]
nodaemon=true
[program:twitch_extractor_p1]
environment=DISPLAY=":99",pac_proxy=http://localhost:1090/pac
2020-08-28 11:07:12 +00:00
directory = MYPATH/bin/twitch_extractor
command= MYPATH/bin/twitch_extractor/twitch_extractor
2020-08-17 06:50:19 +00:00
process_name=%(program_name)s_%(process_num)02d ;多进程名称
numprocs=2 ;启动多个进程
autorestart=true
2020-08-28 11:07:12 +00:00
stderr_logfile=MYPATH/bin/twitch_extractor/log
2020-08-17 06:50:19 +00:00
stderr_logfile_maxbytes=0
stopsignal=QUIT