Last active
January 27, 2016 15:01
-
-
Save bipinu/ec42ed2946b80e531963 to your computer and use it in GitHub Desktop.
Set up Supervisord on Ubuntu through pip
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
#TODO: Use this init script https://gist.github.com/bipinu/df44686185d263ef1ba2 | |
apt-get update && apt-get upgrade | |
apt-get install python-pip | |
pip install supervisor --pre | |
mkdir /etc/supervisor | |
echo_supervisord_conf > /etc/supervisor/supervisord.conf | |
ln -s /etc/supervisor/supervisord.conf /etc/supervisord.conf | |
mkdir /var/log/supervisor | |
mkdir /tmp/supervisor-init | |
cd /tmp/supervisor-init | |
git clone https://gist.github.com/df44686185d263ef1ba2.git supervisor | |
cd supervisor | |
mv supervisord-init-script.sh /etc/init.d/supervisord | |
# The path "may be" /usr/local/bin/ instead of /usr/bin/ | |
chmod +x /etc/init.d/supervisord | |
sudo update-rc.d supervisord defaults |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment