我通过命令安装了https://github.com/Supervisor/supervisor的最后一个版本:
python3 setup.py install
现在我可以手动运行supervisord了,只需输入
sudo supervisord
因此,在这之后,我的所有过程都很好地使用supervisorctl
。
我的问题是:如何在重启后运行supervisord
?我希望在系统启动后启动在supervisorctl
中定义的所有脚本。
解决方案是:在/etc/rc.local添加supervisord &
发布于 2018-05-11 11:44:09
若要在启动时自动运行supervisord,请使用以下命令:
sudo systemctl enable supervisor.service
https://unix.stackexchange.com/questions/443285
复制相似问题