Re: Supervisor FATAl Exited too quickly (process log may have details(About inet_http_server and unix_http_server)

2017-09-10 Thread Antonis Christofides
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

Re: Supervisor FATAl Exited too quickly (process log may have details(About inet_http_server and unix_http_server)

2017-09-09 Thread Mario Gudelj
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

Supervisor FATAl Exited too quickly (process log may have details(About inet_http_server and unix_http_server)

2017-09-09 Thread Jonathan Cheng
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