• 修改配置文件后,更新新的配置到supervisord,执行supervisorctl update
  • 重新启动配置中的所有程序supervisorctl reload
  • 查看正在守候的所有进程supervisorctl
  • 启动某个进程supervisorctl start program_name(program_name=你配置中写的程序名称)。
  • 停止某一进程pervisorctl stop program_name(program_name=你配置中写的程序名称)。

    • 如果停止所有的进程使用all,即supervisorctl stop all,用stop停止掉的进程,用reload或者update都不会自动重启。
  • 重启某一进程supervisorctl restart program_name(program_name=你配置中写的程序名称)。
Last modification:October 19, 2019
If you think my article is useful to you, please feel free to appreciate