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

Still fixing Gunicron

This commit is contained in:
Donald Zou 2024-08-04 16:08:05 -04:00
parent 764ef80a62
commit 8cbdb54402
2 changed files with 2 additions and 2 deletions

View File

@ -9,4 +9,4 @@ workers = 1
threads = 1
bind = f"{app_host}:{app_port}"
daemon = True
pidfile = './gunicorn.pid'
pidfile = './gunicorn.pid'

View File

@ -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 ]