From 81683a4def8868242a96154983fd801204d81ed6 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Thu, 1 Dec 2016 17:21:08 -0200 Subject: [PATCH] =?UTF-8?q?Ajusta=20simple=5Fgunicorn.sh=20para=20novo=20p?= =?UTF-8?q?adr=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simple_gunicorn.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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