Skip to content

Instantly share code, notes, and snippets.

@hemanth
Forked from jurka/gist:3027104
Created July 1, 2012 06:35
Show Gist options
  • Save hemanth/3027168 to your computer and use it in GitHub Desktop.
Save hemanth/3027168 to your computer and use it in GitHub Desktop.
Installing supervisor under ubuntu
#run as sudo
apt-get install python-setuptools curl
easy_install supervior
curl https://raw.github.com/gist/176149/88d0d68c4af22a7474ad1d011659ea2d27e35b8d/supervisord.sh > /etc/init.d/supervisord
#to run it
chmod +x /etc/init.d/supervisord
#adding to autostart
update-rc.d supervisord defaults
#creating basic configuration
echo_supervisord_conf > /etc/supervisord.conf
#creating folder for includes
mkdir /etc/supervisor
echo "[include]
files = /etc/supervisor/*.conf" >> /etc/supervisord.conf
#replace in config location of pid file. Example: pidfile=/var/run/supervisord.pid
#Stop and Start work properly
service supervisord stop
service supervisord start
@oscarnevarezleal
Copy link

You´re missing an "s" in line 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment