chore: testing fix
parent
f0e8ddde16
commit
7b5b3f9882
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue