10 - Supervisor - Deploying a Django Project - Ubuntu

You need to be subscribed to a plan to get access to the full course.

To ensure that our app is always running, we use something called Supervisor.

Comments

Eric H | May 11, 23 01:44

I've been working through the LMS project that uses VueJS and this has helped tremendously. Looking forward to the next lesson. As a template for others, this is what my /etc/supervisor/conf.d/djangolms.conf looks like:

[program:lms]
command = /webapps/lms/lms_env/bin/gunicorn_start
user = lmsuser
stdout_logfile = /webapps/lms/logs/supervisor.log
redirect_stderr = true
environment=LANG=en_US.UTF-8,LC_ALL=en_US.UTF-8


Stein Ove Helset | May 20, 23 06:32

Thanks, glad to hear that :-D

Add comment

Info

Please log in to comment!

Newsletter

Subscribe to my weekly newsletter. One time per week I will send you a short summary of the tutorials I have posted in the past week.