目录

Supervisor

安装

Installing

pip3 install supervisor

新建配置文件

Creating a Configuration File

# 新建一个 app 配置目录
mkdir -p /etc/supervisor/conf.d
# 创建配置文件
echo_supervisord_conf > /etc/supervisor/supervisord.conf

运行

# 以指定配置文件的形势运行
supervisord -c /etc/supervisor/supervisord.conf