mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
check for osx uwsgi path and use that, otherwise run 'uwsgi'
This commit is contained in:
parent
84ffec9b8d
commit
9cde058ccf
10
run.sh
10
run.sh
@ -25,5 +25,13 @@ else
|
||||
params="$params --mount $1=mount_run.py --no-default-app --manage-script-name"
|
||||
fi
|
||||
|
||||
uwsgi $params
|
||||
osx_uwsgi_path="/System/Library/Frameworks/Python.framework/Versions/2.7/bin/uwsgi"
|
||||
|
||||
if [ -e "$osx_uwsgi_path" ]; then
|
||||
uwsgi=$osx_uwsgi_path
|
||||
else
|
||||
uwsgi="uwsgi"
|
||||
fi
|
||||
|
||||
$uwsgi $params
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user