intimate/supervisor_conf/twitch_task2.conf

14 lines
423 B
Plaintext
Raw Normal View History

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