supervisor 添加新配置不生效的问题
supervisorctl reread
supervisorctl reload (不运行这一步会导致启动不了)
supervisorctl start xxx:*
提示:No config updates to processes
排错:
1、配置文件名后缀(默认ini,如果写成 conf 会没效)
2、配置格式校对
[program:viewer]
process_name=%(program_name)s_%(process_num)02d
command=/root/request-viewer/main
directory=/root/request-viewer
autostart=true
autorestart=true
user=root
numprocs=1
redirect_stderr=true
stdout_logfile=/var/log/request-viewer.log