[supervisord] nodaemon=false [program:twitch_task2] environment=DISPLAY=":99" directory = MYPATH/bin/twitch_task2 command= MYPATH/bin/twitch_task2/twitch_task2 process_name=%(program_name)s_%(process_num)02d ;多进程名称 numprocs=6 ;启动多个进程 autorestart=true stderr_logfile=MYPATH/bin/twitch_task2/log stderr_logfile_maxbytes=0 stopsignal=QUIT