Hi,
add something like --log-file=/var/log/weather_project/gunicorn.log to the
gunicorn command line (and make sure Gunicorn has permission to write to that
directory), and restart the program. The information you need to locate the
problem is usually in that log file.
Regards,
Antonis
Antonis
Does that Guniorn command run directly from the command line? What's
gunicorn.pod? Make sure you can start gunicorn outside of supervisor and
then stick that command into conf file.
Cheers,
M
On Sun, 10 Sep 2017 at 2:28 am, Jonathan Cheng
wrote:
> I wrote a Django
I wrote a Django project and I use supervisor with gunicorn
/etc/supervisor/conf.d/weather.conf
[group:weather_station]
programs=site
[program:site]
directory=$PROJECT
command=/home/nhcc/.local/bin/gunicorn -c /$PROJECT/weather_station/
gunicorn.conf.py -p
3 matches
Mail list logo