EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 3dba3663 authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

use env var INSTANCE_DIR for run script

parent 9ddb8f80
No related branches found
No related tags found
No related merge requests found
Pipeline #21690 passed
......@@ -8,7 +8,7 @@ WORKER_TIMEOUT=${WORKER_TIMEOUT:=120}
if [[ "$DEBUG" = true ]] ; then
echo "Running manage.py runserver"
python3 /var/www/pvs/dev/pvs_instance/manage.py runserver 0.0.0.0:80
python3 "$INSTANCE_DIR"/manage.py runserver 0.0.0.0:80
else
echo "Running gunicorn"
exec \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment