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

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

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

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

http://supervisord.org/running.html#running-supervisord-automatically-on-startup 6

Relative Articles