1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-14 15:53:28 +01:00
pywb/run-uwsgi.sh

22 lines
283 B
Bash
Raw Permalink Normal View History

#!/bin/sh
# requires uwsgi
pip install uwsgi
pip install gevent
if [ $? -ne 0 ]; then
"uwsgi install failed"
exit 1
fi
mypath=$(cd `dirname $0` && pwd)
params="$mypath/uwsgi.ini"
#if [ -n "$VIRTUAL_ENV" ] ; then
# params="$params -H $VIRTUAL_ENV"
#fi
uwsgi $params