Skip to content

Commit

Permalink
fix: syntax in entrypoint bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
elisanp committed Aug 23, 2024
1 parent 8272442 commit c7593e9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions example/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ if [[ $GET_IDEM_MDQ_KEY == true ]]; then
fi

wsgi_file=/.venv/lib/$(python -c 'import sys; print(f"python{sys.version_info.major}.{sys.version_info.minor}")')/site-packages/satosa/wsgi.py
wgsi_args="--ini /satosa_proxy/uwsgi_setup/uwsgi/uwsgi.ini.docker --wsgi-file $wsgi_file"
if [[ $SATOSA_DEBUG == true ]]; then
wgsi_args="${wsgi_args} --honour-stdin"
fi

uwsgi $wsgi_args
uwsgi --ini /satosa_proxy/uwsgi_setup/uwsgi/uwsgi.ini.docker --wsgi-file $wsgi_file --honour-stdin
else
uwsgi --ini /satosa_proxy/uwsgi_setup/uwsgi/uwsgi.ini.docker --wsgi-file $wsgi_file
fi

0 comments on commit c7593e9

Please sign in to comment.