chore: testing fix

pull/1021/head
DaanSelen 2025-12-08 16:33:50 +01:00
parent f0e8ddde16
commit 7b5b3f9882
2 changed files with 6 additions and 3 deletions

View File

@ -190,8 +190,11 @@ start_and_monitor() {
# Actually starting WGDashboard
echo "Starting WGDashboard directly with Gunicorn..."
cd $WGDASH/src
/opt/wgdashboard/src/venv/bin/python3 /opt/wgdashboard/src/venv/bin/gunicorn --config /opt/wgdashboard/src/gunicorn.conf.py
# Debug line if all fails
# /bin/bash /opt/wgdashboard/src/wgd.sh start
/opt/wgdashboard/src/venv/bin/gunicorn --config /opt/wgdashboard/src/gunicorn.conf.py
if [ $? -ne 0 ]; then
echo "Loading WGDashboard failed... Look above for details."
fi

View File

@ -23,4 +23,4 @@ pythonpath = "., ./modules"
print(f"[Gunicorn] WGDashboard w/ Gunicorn will be running on {bind}", flush=True)
print(f"[Gunicorn] Access log file is at {accesslog}", flush=True)
print(f"[Gunicorn] Error log file is at {errorlog}", flush=True)
print(f"[Gunicorn] Error log file is at {errorlog}", flush=True)