队列系统Installing — Supervisor 4.0.4 documentation

9505 人参与 | 时间:2024年03月19日 14:55:14
点击跳转 supervisord.org
内容

curl -O https://bootstrap.pypa.io/get-pip.py


python get-pip.py


pip install supervisor


echo_supervisord_conf > /etc/supervisord.conf


https://www.jianshu.com/p/bce9dd6d3751


遇到错误
ERROR: Cannot uninstall 'meld3'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决方案:


先查路径
find / -name 'melds'


如果查询到结果:
执行: rm -rf /usr/lib64/python2.7/site-packages/meld3-0.6.10-py2.7.egg-info


作者:Raybon_lee
链接:https://www.jianshu.com/p/bce9dd6d3751
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。


ps -ef | grep 'horizon' | grep -v grep | awk '{print $2}' | xargs kill -9
supervisord -c /www/soft/supervisord/supervisord.conf
supervisorctl shutdown
supervisorctl status

ps -ef|grep supervisord
ps -ef|grep horizon


[program:laravel-horizon]
process_name=%(program_name)s
command=php /www/wwwroot/apis.qlcs188.com/artisan horizon
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/www/soft/supervisord/log/horizon.log