1.mac上安装及使用教程
https://www.jianshu.com/p/00fbff2c6ee1
2.supervisor 官网
http://supervisord.org/index.html
3.supervisor部署golang项目案例
https://www.1024sou.com/article/209834.html
4.常用命令
#关闭所有任务
supervisorctl shutdown
# 启动某个进程
supervisorctl start programxxx
# 重启某个进程
supervisorctl restart programxxx
# 停止全部进程 注:start、restart、stop都不会载入最新的配置文件
supervisorctl stop all
# 载入最新的配置文件,停止原有进程并按新的配置启动、管理所有进程。
supervisorctl reload
# 根据最新的配置文件,启动新配置或有改动的进程,配置没有改动的进程不会受影响而重启。
supervisorctl update