python - Start Django-Supervisor From Upstart in Uwsgi script? -
using django-supervisor(https://github.com/rfk/django-supervisor), trying figure out way have python myproject/manage.py supervisor --daemonize start when uwsgi upstart script starts django.
here uwsgi script:
root@community:/etc/init# cat uwsgi.conf
#this version community service description "uwsgi tiny instance" start on runlevel [2345] stop on runlevel [06] exec uwsgi --die-on-term --ini /home/community/uwsgi/community_forums.ini could add together exec line? or best way this?
create new upstart job , have start on started uwsgi, , stop on stopping uwsgi. remove --daemonize alternative django-supervisor line , create exec.
python django upstart supervisord django-supervisor
No comments:
Post a Comment