supervisord

Process manager tool for configuring background services/resident processes

Install

# Install supervisord
apt-get install supervisor

Example

Generate configuration file /etc/supervisord.conf

[program:app]
command=/usr/bin/gunicorn -w 1 wsgiapp:application
directory=/srv/www
user=www-data

supervisord: start supervisor service

supervisorctl start app
supervisorctl stop app
supervisorctl reload # Modify/add configuration files need to execute this

download link

https://pypi.python.org/pypi/meld3 https://pypi.python.org/pypi/supervisor

继续阅读

接下来你可能需要这些内容

优先推荐相关内容,同时保留你的阅读轨迹和收藏入口。