Skip to content

Commit

Permalink
fix: demo run in the example project
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux committed Jan 31, 2023
1 parent bdfe797 commit d07d424
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions demo-run.sh → example/demo-run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash

SATOSA_APP=/usr/lib/python3.8/site-packages/satosa
SATOSA_APP=../env/lib/python3.10/site-packages/satosa
BASEDIR=./
uwsgi --uid 1000 --https 0.0.0.0:9999,$BASEDIR/pki/cert.pem,$BASEDIR/pki/privkey.pem --check-static-docroot --check-static $BASEDIR/static/ --static-index disco.html &
P1=$!
uwsgi --uid 1000 --wsgi-file $SATOSA_APP/wsgi.py --https 0.0.0.0:10000,$BASEDIR/pki/cert.pem,$BASEDIR/pki/privkey.pem --callable app -b 32648
uwsgi --uid 1000 --wsgi-file $SATOSA_APP/wsgi.py --https 0.0.0.0:10000,$BASEDIR/pki/cert.pem,$BASEDIR/pki/privkey.pem --callable app -b 32648 --thunder-lock
P2=$!
wait $P1 $P2

0 comments on commit d07d424

Please sign in to comment.