intimate/supervisor_conf/twitcasting_extractor.conf

15 lines
521 B
Plaintext
Raw Normal View History

2020-08-17 06:50:19 +00:00
[supervisord]
nodaemon=false
[program:twitcasting_extractor]
environment=DISPLAY=":99"
2020-08-28 11:07:12 +00:00
directory = MYPATH/bin/twitcasting_extractor/
command= MYPATH/bin/twitcasting_extractor/twitcasting_extractor
2020-08-17 06:50:19 +00:00
process_name=%(program_name)s_%(process_num)02d ;多进程名称
numprocs=3 ;启动多个进程
autorestart=true
2020-08-28 11:07:12 +00:00
stderr_logfile=MYPATH/bin/twitcasting_extractor/log
2020-08-17 06:50:19 +00:00
# stderr_logfile=%(supervisorctl.var.directory)s/log
stderr_logfile_maxbytes=0
stopsignal=QUIT