Skip to content

Commit

Permalink
fix: support for attach though wsgi (#148)
Browse files Browse the repository at this point in the history
Co-authored-by: thomaschiozzi-tndigit <[email protected]>
  • Loading branch information
Zicchio and thomaschiozzi-tndigit authored Aug 6, 2024
1 parent 90f8f66 commit 7353446
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion example/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ 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
uwsgi --ini /satosa_proxy/uwsgi_setup/uwsgi/uwsgi.ini.docker --wsgi-file $wsgi_file
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

0 comments on commit 7353446

Please sign in to comment.