Install latest version of supervisor from github
- Command
pipx install "supervisor @ git+ssh://git@github.com/waketzheng/supervisor.git"
- Generate supervisord config
echo_supervisord_conf > supervisord.conf
echo -e "[include]\nfiles = conf.d/*.ini\n" >> supervisord.conf
sudo mkdir -p /etc/supervisor/conf.d
sudo chown -r $USER:$USER /etc/supervisor/
mv supervisord.conf /etc/supervisor/
- Start supervisord
supervisord -c /etc/supervisor/supervisord.conf
- List running services
supervisorctl status
- Other commands
supervisorctl update
supervisorctl restart all
supervisorctl stop all

浙公网安备 33010602011771号