Created
June 21, 2018 12:03
-
-
Save dylan4224/9b6b6aef9af25a4578245f893511f930 to your computer and use it in GitHub Desktop.
supervisor with django
This file contains hidden or 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
# Ansible managed | |
[program:django] | |
directory=/work/apps/django/apisite ; | |
environment=DJANGO_SETTINGS_MODULE=apisite.settings ; | |
command=/home/ubuntu/.pyenv/versions/django-3.6.1/bin/python manage.py runserver 10300 ; | |
process_name=%(program_name)s-%(process_num)02d ; | |
numprocs=1 ; | |
autostart=True ; | |
autorestart=True ; | |
redirect_stderr=False ; | |
stopsignal=KILL ; | |
stopasgroup=true ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment