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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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