hello everyone?

i keeps getting the error (*crazyproject FATAL Exited too quickly (process 
log may have details*) after i enter *sudo supervisorctl status 
crazyproject*

this is my */etc/supervisor/conf.d/urban-train.conf*

[program:crazyproject]
> command=/home/rotense/bin/gunicorn_start
> user=rotense
> autostart=true
> autorestart=true
> redirect_stderr=true
> stdout_logfile=/home/rotense/logs/gunicorn-error.log


also this is my */home/rotense/bin/gunicorn_start*

#!/bin/bash 

NAME="crazyproject"
DIR=/home/rotense/crazyproject
USER=rotense
GROUP=rotense
WORKERS=3
BIND=unix:/home/rotense/run/gunicorn.sock
DJANGO_SETTINGS_MODULE=crazyproject.settings
DJANGO_WSGI_MODULE=crazyproject.wsgi
LOG_LEVEL=error
cd $DIR
source ../bin/activate
export DJANGO_SETTINGS_MODULE=$DJANGO_SETTINGS_MODULE
export PYTHONPATH=$DIR:$PYTHONPATH
exec ../bin/gunicorn ${DJANGO_WSGI_MODULE}:application \
  --name $NAME \
  --workers $WORKERS \
  --user=$USER \
  --group=$GROUP \
  --bind=$BIND \
  --log-level=$LOG_LEVEL \
  --log-file=-



please how to can fix that Fatal error??

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/33d2e48f-6cc7-4a9a-8ba1-6174b46b267c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to