我在我的虚拟环境(venv
)中安装了supervisor
和{
我正在使用这个教程:https://realpython.com/blog/python/kickstarting-flask-on-ubuntu-setup-and-deployment/
我很困惑我应该在哪里为supervisor
创建config
文件,因为默认的etc/supervisor
不适用于我。在
supervisorctl
文件位于以下目录中:
/home/giri/venv/py2.7/lib/python2.7/site packages/supervisor
我注意到supervisorctl
文件中有一行:
Options:
-c/--configuration -- configuration file path (default /etc/supervisord.conf)
每次运行supervisorctl
脚本时都需要手动设置此标志还是有其他方法?在
谢谢
如文档(http://supervisord.org/configuration.html)所示:
所以把
supervisor.conf
放在当前的工作目录中,就可以了。在相关问题 更多 >
编程相关推荐