Supervisor

supervisor

安装过程自己折腾...


启动文件存放位置:/etc/supervisor/conf.d/
supervisor自身日志位置:/var/log/supervisor/supervisord.log


常用命令


重启supervisor服务:sudo service supervisor restart/start/stop/status
重新载入supervisor任务:sudo supervisorctl reload

查看当前启动的supervisor任务:sudo supervisorctl ,执行完这个会进入supervisor命令行模式,可以与supervisor进行交互式操作,如下:
supervisor> status
supervisor> restart/start/stop/status socweb_ha socweb_ha_celery socweb_ha_discover

原文地址:https://www.cnblogs.com/ldy-miss/p/10115579.html