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