Update sites.inc
This commit is contained in:
@@ -446,14 +446,14 @@ NEWSITE(){
|
||||
echo
|
||||
echo -e "${idsCL[LightGreen]}The new site for '${idsCL[LightGreen]}${NEW_SITE}${idsCL[Default]}' has been created.${idsCL[Default]}"
|
||||
echo
|
||||
echo -en "${idsCL[LightCyan]}Restart NGINX on all Nodes (Y/n): ${idsCL[Default]}"
|
||||
read -n 1 NGINXRELOAD
|
||||
if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
|
||||
echo
|
||||
else
|
||||
echo
|
||||
# echo -en "${idsCL[LightCyan]}Restart NGINX on all Nodes (Y/n): ${idsCL[Default]}"
|
||||
# read -n 1 NGINXRELOAD
|
||||
# if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
|
||||
# echo
|
||||
# else
|
||||
# echo
|
||||
SERVICE nginx restart
|
||||
fi
|
||||
# fi
|
||||
else
|
||||
echo "Missing proxy arguments"
|
||||
Exit 1
|
||||
|
||||
Reference in New Issue
Block a user