Skip to content

Commit

Permalink
fixed python version
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioMurru committed Jul 26, 2023
1 parent 294f7d9 commit d9a9d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ fi
wget https://mdx.idem.garr.it/idem-mdx-service-crt.pem -O pki/idem-mdx-service-crt.pem

if [[ -v SATOSA_BY_DOCKER ]]; then
SATOSA_APP=/usr/lib/$(python -c 'import sys; print(f"python{sys.version_info.major}.{sys.version_info.minor}")')/site-packages/satosa
SATOSA_APP=/usr/lib/$(python3 -c 'import sys; print(f"python{sys.version_info.major}.{sys.version_info.minor}")')/site-packages/satosa
# in questo modo parla uwsgi, dal browser sulla porta 10000 si ha un errore e in nginx va utilizzato uwsgi_pass
uwsgi --wsgi-file $SATOSA_APP/wsgi.py --socket 0.0.0.0:10000 --callable app -b 32768 --processes 4 --threads 2

Expand Down

0 comments on commit d9a9d94

Please sign in to comment.