找到和關閉supervisord process

first of all, type this on your console or terminalhtml

ps -ef | grep supervisord

You will get some pid of supervisord just like thesepython

root 2641 12938 0 04:52 pts/1 00:00:00 grep --color=auto supervisordthis

root 29646 1 0 04:45 ? 00:00:00 /usr/bin/python /usr/local/bin/supervisordcode

if you get output like that, your pid is the second one. then if you want to shut down your supervisord you can do thishtm

kill -s SIGTERM 29646 

hope it helpful. ref: http://supervisord.org/running.html#signalsterminal

相關文章
相關標籤/搜索