mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-08-27 23:41:14 +00:00
Still fixing Gunicron
This commit is contained in:
@@ -9,4 +9,4 @@ workers = 1
|
||||
threads = 1
|
||||
bind = f"{app_host}:{app_port}"
|
||||
daemon = True
|
||||
pidfile = './gunicorn.pid'
|
||||
pidfile = './gunicorn.pid'
|
@@ -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 ]
|
||||
|
Reference in New Issue
Block a user