基本命令:
echo_supervisord_conf > /etc/supervisord.conf # 创建supervisor配置文件
ps -ef|grep supervisord # 查看是否存在supervisord进程
systemctl enable supervisord # 开机自启动
systemctl start supervisord # 启动supervisord服务
systemctl status supervisord # 查看supervisord服务状态
supervisorctl reload # 重新加载配置文件
其他:
systemctl stop supervisord
systemctl start supervisord
systemctl status supervisord
systemctl reload supervisord
systemctl restart supervisord