mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 15:20:09 +01:00
Update wgd.sh
This commit is contained in:
parent
76fe2a1ba9
commit
c0d26164dc
@ -237,9 +237,9 @@ 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_"$d".log \
|
sudo "$venv_gunicorn" --access-logfile log/access.log \
|
||||||
--log-level 'debug' --capture-output \
|
--log-level 'debug' --capture-output \
|
||||||
--error-logfile log/error_"$d".log --daemon 'dashboard:app'
|
--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