diff --git a/src/gunicorn.conf.py b/src/gunicorn.conf.py index 9a2a458..0692532 100644 --- a/src/gunicorn.conf.py +++ b/src/gunicorn.conf.py @@ -9,4 +9,4 @@ workers = 1 threads = 1 bind = f"{app_host}:{app_port}" daemon = True -pidfile = './gunicorn.pid' +pidfile = './gunicorn.pid' \ No newline at end of file diff --git a/src/wgd.sh b/src/wgd.sh index 8aac663..1925232 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_"$d".log \ --log-level 'debug' --capture-output \ - --error-logfile log/error_"$d".log 'dashboard:app' + --error-logfile log/error_"$d".log --daemon 'dashboard:app' checkPIDExist=0 while [ $checkPIDExist -eq 0 ]