mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-06 07:50:13 +01:00
Still fixing Gunicron
This commit is contained in:
parent
764ef80a62
commit
8cbdb54402
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user