python - Is it possible to install supervisord inside virtualenv? -


currenty install supervisord system-wide on ubuntu apt-get install supervisor. projects inside virtualenvs, system-wide python not used anything.

is possible install supervisor inside virtualenvs? can run multiple instances?

yes. can first setup virtualenv , install supervisor use pip.

virtualenv env cd env ./bin/pip install supervisor 

create configuration file:

echo_supervisord_conf > /path_to_configuration_file/supervisord.conf 

you can run multiple instances, use different port supervisord listen on in configuration file:

port=127.0.0.1:9001 

Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

collision detection - C++ library for mesh to mesh intersection: what is available? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -