intimate/supervisor_conf/twitch_extractor.conf

14 lines
442 B
Plaintext
Raw Permalink Normal View History

2020-08-17 06:50:19 +00:00
[supervisord]
nodaemon=false
[program:twitch_extractor]
environment=DISPLAY=":99"
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=5 ;启动多个进程
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