mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 15:20:09 +01:00
Testing v4
This commit is contained in:
parent
18b18c1396
commit
47ea60c0cd
@ -12,3 +12,7 @@ daemon = True
|
|||||||
pidfile = './gunicorn.pid'
|
pidfile = './gunicorn.pid'
|
||||||
print_config = True
|
print_config = True
|
||||||
wsgi_app = "dashboard:app"
|
wsgi_app = "dashboard:app"
|
||||||
|
access_logfile = "./log/access.log"
|
||||||
|
log_level = "debug"
|
||||||
|
capture_output = True
|
||||||
|
error_logfile = "./log/error.log"
|
@ -237,10 +237,7 @@ gunicorn_start () {
|
|||||||
export PATH=$PATH:/usr/local/bin:$HOME/.local/bin
|
export PATH=$PATH:/usr/local/bin:$HOME/.local/bin
|
||||||
fi
|
fi
|
||||||
_check_and_set_venv
|
_check_and_set_venv
|
||||||
sudo "$venv_gunicorn" --access-logfile log/access.log \
|
sudo "$venv_gunicorn" --config ./gunicorn.conf.py
|
||||||
--log-level 'debug' --capture-output \
|
|
||||||
--config ./gunicorn.conf.py \
|
|
||||||
--error-logfile log/error.log --daemon 'dashboard:app'
|
|
||||||
sleep 5
|
sleep 5
|
||||||
checkPIDExist=0
|
checkPIDExist=0
|
||||||
while [ $checkPIDExist -eq 0 ]
|
while [ $checkPIDExist -eq 0 ]
|
||||||
|
Loading…
Reference in New Issue
Block a user