1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 07:10:09 +01:00

Testing..

This commit is contained in:
Donald Zou 2024-08-04 19:30:48 -04:00
parent c6173f7f6f
commit 6799692811
2 changed files with 2 additions and 1 deletions

View File

@ -11,3 +11,4 @@ bind = f"{app_host}:{app_port}"
# print("[WGDashboard] Gunicorn app will be running at " + bind)
daemon = True
pidfile = './gunicorn.pid'
print_config = True

View File

@ -239,7 +239,7 @@ gunicorn_start () {
_check_and_set_venv
sudo "$venv_gunicorn" --access-logfile log/access.log \
--log-level 'debug' --capture-output \
--config ./gunicorn.conf.py --print-config "True"
--config ./gunicorn.conf.py
--error-logfile log/error.log --daemon 'dashboard:app'
sleep 5
checkPIDExist=0