1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-06 16:00:28 +01:00

Update wgd.sh

This commit is contained in:
Donald Zou 2024-08-04 18:48:13 -04:00
parent 76fe2a1ba9
commit c0d26164dc

View File

@ -237,9 +237,9 @@ gunicorn_start () {
export PATH=$PATH:/usr/local/bin:$HOME/.local/bin
fi
_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 \
--error-logfile log/error_"$d".log --daemon 'dashboard:app'
--error-logfile log/error.log --daemon 'dashboard:app'
sleep 5
checkPIDExist=0
while [ $checkPIDExist -eq 0 ]