Final install.sh touches

This commit is contained in:
2024-11-22 20:06:33 -08:00
parent 5553865197
commit dd01f7e5fa
3 changed files with 14 additions and 7 deletions
+2 -2
View File
@@ -2,9 +2,9 @@
# run from current directory only
FILE=app.py
if test -f "$FILE"; then
uwsgi_python310 --http-socket 0.0.0.0:1612 --wsgi-file app.py --callable app --pyargv "-vvv" --stats 0.0.0.0:9192
uwsgi_python3 --http-socket 0.0.0.0:1612 --wsgi-file app.py --callable app --pyargv "-vvv" --stats 0.0.0.0:9192
else
cd /opt/kjv-api
echo "WARNING: RUNNING FROM /opt/kjv-api"
uwsgi_python310 --http-socket 0.0.0.0:1612 --wsgi-file /opt/kjv-api/app.py --callable app --pyargv "-vvv"
uwsgi_python3 --http-socket 0.0.0.0:1612 --wsgi-file /opt/kjv-api/app.py --callable app --pyargv "-vvv"
fi