Last active
May 18, 2019 08:48
-
-
Save katoozi/028e8dd135de254ee5de95ebf5b48207 to your computer and use it in GitHub Desktop.
simple supervisor service file
This file contains 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
[program:django_project] | |
command = /var/www/django_project/gunicorn_start.sh ; Command to start app | |
user = ubuntu ; User to run as | |
stdout_logfile = /var/www/logs/gunicorn_supervisor.log ; Where to write log messages | |
redirect_stderr = true ; Save stderr in the same log | |
environment=LANG=en_US.UTF-8,LC_ALL=en_US.UTF-8 ; Set UTF-8 as default encoding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment