supervisor unix:///tmp/supervisor.sock no such file

pylist 699 2

unix:///tmp/supervisor.sock no such file

sudo touch /var/run/supervisor.sock
sudo chmod 777 /var/run/supervisor.sock
sudo service supervisor restart

[unix_http_server]
; file=/tmp/supervisor.sock   ; (the path to the socket file)
file=/var/run/supervisor.sock
您可能感兴趣的主题
该主题到 2016-04-26 13:06:21 共 2 条回复
p
pylist #

http://serverfault.com/questions/96499/how-to-automatically-start-supervisord-on-linux-ubuntu 1

Actually, I found one that works here http://gist.github.com/176149. To install it:

sudo curl https://gist.github.com/howthebodyworks/176149/raw/88d0d68c4af22a7474ad1d011659ea2d27e35b8d/supervisord.sh > /etc/init.d/supervisord
to run it

sudo chmod +x /etc/init.d/supervisord
and to automatically schedule it, do

sudo update-rc.d supervisord defaults
Make ensure correct pid in /etc/supervisord.conf which is mapped in /etc/init.d/supervisord

example: pidfile=/var/run/supervisord.pid
Stop and Start work properly

service supervisord stop
service supervisord start
登录发表评论