Ubuntu安装supervisor

前端之家收集整理的这篇文章主要介绍了Ubuntu安装supervisor前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1.apt install python-setuptools 2.easy_install supervisor 3.echo_supervisord_conf > /etc/supervisord.conf 4.修改配置 /etc/supervisord.conf [include] files = /etc/supervisord.conf.d/*.conf 5.新建管理的应用 cd /etc/supervisord.conf.d vim app.conf 配置文件: [program:app] directory = /opt/app/app command = /opt/app/app/apppkg autostart = true startsecs = 5 user = root redirect_stderr = true stdout_logfile = /var/log/supervisord/apppkg.log

原文链接:https://www.f2er.com/ubuntu/350453.html

猜你在找的Ubuntu相关文章