Update nodemgmt-scripts.sh
This commit is contained in:
@@ -234,7 +234,14 @@ DELSITE(){
|
||||
SERVICE nginx reload
|
||||
echo -e "${idsCL[LightRed]}Site has been deleted.${idsCL[Default]}"
|
||||
else
|
||||
echo -e "${idsCL[LightRed]}No site was defined.${idsCL[Default]}"
|
||||
echo "Missing arguments"
|
||||
echo ""
|
||||
echo -e "Usage: ${idsCL[Yellow]}nodemgmt delsite${idsCL[Default]} {"
|
||||
width=33
|
||||
printf "%-${width}s- %s\n" " -site {FQDN address}" "(*required)"
|
||||
printf "%-${width}s- %s\n" " -ssl {yes or [no]}" "Delete SSL certs as well"
|
||||
echo "}"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user