先用status 命令查看當(dāng)前運(yùn)行的狀態(tài)和名稱

截圖

然后可以指定運(yùn)行和停止相關(guān)的服務(wù)

supervisorctl start webscoket:webscoket_00

supervisorctl reload :修改完配置文件后重新啟動(dòng)supervisor
supervisorctl status :查看supervisor監(jiān)管的進(jìn)程狀態(tài)
supervisorctl start 進(jìn)程名 :?jiǎn)?dòng)XXX進(jìn)程
supervisorctl stop 進(jìn)程名 :停止XXX進(jìn)程
supervisorctl stop all:停止全部進(jìn)程,注:start、restart、stop都不會(huì)載入最新的配置文件。
supervisorctl update:根據(jù)最新的配置文件,啟動(dòng)新配置或有改動(dòng)的進(jìn)程,配置沒有改動(dòng)的進(jìn)程不會(huì)受影響而重啟