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:45:57 -04:00
parent 8cbdb54402
commit 76fe2a1ba9

View File

@ -240,7 +240,7 @@ gunicorn_start () {
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 --daemon 'dashboard:app' --error-logfile log/error_"$d".log --daemon 'dashboard:app'
sleep 5
checkPIDExist=0 checkPIDExist=0
while [ $checkPIDExist -eq 0 ] while [ $checkPIDExist -eq 0 ]
do do