-
-
Save hemanth/3027168 to your computer and use it in GitHub Desktop.
Installing supervisor under ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You´re missing an "s" in line 3