diff --git a/src/gunicorn.conf.py b/src/gunicorn.conf.py index 23e9512..eac785c 100644 --- a/src/gunicorn.conf.py +++ b/src/gunicorn.conf.py @@ -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 diff --git a/src/wgd.sh b/src/wgd.sh index 4937468..2f4a17e 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -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