1
0

fix: restart nginx after install

This commit is contained in:
2023-10-31 17:43:11 +08:00
parent 5058bea561
commit 723234dae5
2 changed files with 4 additions and 2 deletions

View File

@@ -66,7 +66,8 @@ fi
if [ ! -e "${NginxConfDir}/omc.conf" ]; then
mkdir -p ${NginxConfDir}
cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir};
fi
fi
sudo systemctl restart nginx.service
sudo systemctl restart adb.service
sudo systemctl restart restagent.service
sudo systemctl restart crontask.service

View File

@@ -65,7 +65,8 @@ fi
if [ ! -e "${NginxConfDir}/omc.conf" ]; then
mkdir -p ${NginxConfDir}
cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir};
fi
fi
sudo systemctl restart nginx.service
sudo systemctl restart adb.service
sudo systemctl restart restagent.service
sudo systemctl restart crontask.service