Update status.inc

This commit is contained in:
2023-12-12 13:46:37 -06:00
parent d9fe2d7a34
commit 433da435b0

View File

@@ -19,13 +19,12 @@ STATUS(){
-site) DEL_SITE=${2};;
-ssl) DEL_SSL=${2};;
-h)
echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] status {opt}${idsCL[Default]} {"
echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] status {status-check}${idsCL[Default]} {"
width=35
printf "%-${width}s- %s\n" " -site {FQDN address}" "(*required)"
printf "%-${width}s- %s\n" " -site {FQDN address}" "(*required)"
printf "%-${width}s- %s\n" " -site {FQDN address}" "(*required)"
printf "%-${width}s- %s\n" " -ssl {yes or [no]}" "Delete SSL certs as well"
printf "%-${width}s- %s\n" " -list" "List sites (same as running nodemgmt delsites)"
printf "%-${width}s- %s\n" " {status-check}" "By default will check everything, otherwise specifically specifiy one of:"
printf "%-${width}s- %s\n" " services" "Will verify status of all node services"
printf "%-${width}s- %s\n" " dockers" "Will verify status of all node dockers"
printf "%-${width}s- %s\n" " repl" "Will verify status of all node replications"
echo -e "}\n"
exit 0
;;