Skip to content

Instantly share code, notes, and snippets.

@lrstanley
Created January 26, 2014 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lrstanley/8628688 to your computer and use it in GitHub Desktop.
Save lrstanley/8628688 to your computer and use it in GitHub Desktop.
Supervisord basic install instructions for Debian (Ubuntu)
#!/bin/bash
# First, install supervisor. Don't install through your package manager because those packages are unupdated!
sudo apt-get install python-setuptools python-pip curl
easy_install supervisor
# Use pip too
pip install supervisor
# Make a default config file...
sudo echo_supervisord_conf > /etc/supervisord.conf
# Get the init.d
sudo curl https://gist.github.com/Liamraystanley/8628649/raw/e7056f2e717cee13fa3d3cd2b564e95d193a7efb/supervisord > /etc/init.d/supervisord
sudo chmod +x /etc/init.d/supervisord
# Then... simply add it to system boot
sudo update-rc.d supervisord defaults
# And start up
service supervisord start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment