2
使用Ubuntu 16.04 LTS部署我的Python应用程序。配置所有内容并且应用程序正在手动运行。我想通过主管将其自动化,我已经安装了主管并对其进行了配置。但是,如果我运行:unix:///tmp/supervisor.sock无此文件
监事配置文件:
; supervisor config file
[unix_http_server]
file=/var/run/supervisor.sock ; (the path to the socket file)
chmod=0700 ; sockef file mode (default 0700)
[supervisord]
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket
; The [include] section can just contain the "files" setting. This
; setting can list multiple files (separated by whitespace or
; newlines). It can also contain wildcards. The filenames are
; interpreted as relative to this file. Included files *cannot*
; include files themselves.
[include]
files = /etc/supervisor/conf.d/*.conf
supervisorctl reread
我结束了unix:///tmp/supervisor.sock no such file
但supervisord
状态运行时,有一个想法
任何人,请。
尝试重新启动supervisord服务。并且还发布'echo_supervisord_conf'的输出。 –
这个Q **可能更适合于S.E.相关网站http://unix.stackexchange.com(Unix&Linux)。使用Q底部的'flag'链接并请主持人移动它。请不要在2个不同的网站上发布相同的Q. ***请在发帖之前阅读http://stackoverflow.com/help/how-to-ask http://stackoverflow.com/help/dont-ask和http://stackoverflow.com/help/mcve更多Qs在这里。祝你好运。 – shellter