mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-06 16:00:28 +01:00
Still fixing Gunicron
This commit is contained in:
parent
764ef80a62
commit
8cbdb54402
@ -9,4 +9,4 @@ workers = 1
|
|||||||
threads = 1
|
threads = 1
|
||||||
bind = f"{app_host}:{app_port}"
|
bind = f"{app_host}:{app_port}"
|
||||||
daemon = True
|
daemon = True
|
||||||
pidfile = './gunicorn.pid'
|
pidfile = './gunicorn.pid'
|
@ -239,7 +239,7 @@ gunicorn_start () {
|
|||||||
_check_and_set_venv
|
_check_and_set_venv
|
||||||
sudo "$venv_gunicorn" --access-logfile log/access_"$d".log \
|
sudo "$venv_gunicorn" --access-logfile log/access_"$d".log \
|
||||||
--log-level 'debug' --capture-output \
|
--log-level 'debug' --capture-output \
|
||||||
--error-logfile log/error_"$d".log 'dashboard:app'
|
--error-logfile log/error_"$d".log --daemon 'dashboard:app'
|
||||||
|
|
||||||
checkPIDExist=0
|
checkPIDExist=0
|
||||||
while [ $checkPIDExist -eq 0 ]
|
while [ $checkPIDExist -eq 0 ]
|
||||||
|
Loading…
Reference in New Issue
Block a user