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