diff --git a/simple_gunicorn.sh b/simple_gunicorn.sh index 673ff526f..970e67a04 100755 --- a/simple_gunicorn.sh +++ b/simple_gunicorn.sh @@ -1,9 +1,9 @@ -DJANGODIR=/home/sapl31/sapl # Django project directory (*) +DJANGODIR=/var/interlegis/sapl # Django project directory (*) DJANGO_SETTINGS_MODULE=sapl.settings # which settings file should Django use (*) DJANGO_WSGI_MODULE=sapl.wsgi # WSGI module name (*) cd $DJANGODIR -source ~/.virtualenvs/sapl/bin/activate +source /var/interlegis/.virtualenvs/sapl/bin/activate export DJANGO_SETTINGS_MODULE=$DJANGO_SETTINGS_MODULE export PYTHONPATH=$DJANGODIR:$PYTHONPATH