Skip to content

Instantly share code, notes, and snippets.

@SaulTigh
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save SaulTigh/f869dcbec7e10372622e to your computer and use it in GitHub Desktop.

Select an option

Save SaulTigh/f869dcbec7e10372622e to your computer and use it in GitHub Desktop.
Supervisord configuration as service on Ubuntu
# based on http://serverfault.com/a/96500
# http://serverfault.com/a/96500
sudo curl https://gist.githubusercontent.com/howthebodyworks/176149/raw/88d0d68c4af22a7474ad1d011659ea2d27e35b8d/supervisord.sh > /etc/init.d/supervisord
sudo chmod +x /etc/init.d/supervisord
sudo update-rc.d supervisord defaults
# now you can do such things as
# service supervisord stop/start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment