From 981a9b7f1a956791a96ba0a5a18f83797a5d1f6f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 13 Nov 2023 14:43:34 -0600 Subject: [PATCH] udate --- defaults.inc | 2 +- nodemgmt-scripts.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/defaults.inc b/defaults.inc index 8f161788..02f1df37 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERS='4.13.27-11132023' +VERS='4.13.28-11132023' noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update ' CERT_DAEMON='/snap/bin/certbot' diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 234db62e..e1db4459 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -903,7 +903,7 @@ GUI(){ newcert) NEWCERT ${2} ${3};; certrenew) CERTRENEW;; delssl) DEL-SSL ${2};; - listcerts) LISTCERTS ${2} ${3} ${4} ${5} ${6};; + certs) LISTCERTS ${2} ${3} ${4} ${5} ${6};; listcerts-npm) LISTCERTS_NPM;; copynpmcerts) COPYCERTS_NPM ${2};; checknpmcerts) CHECK_NPMCERTS;; @@ -917,7 +917,7 @@ GUI(){ delsite) DELSITE ${2} ${3} ${4} ${5};; delsites) DELSITES;; newsite) NEWSITE ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18} ${19} ${20} ${21} ${22} ${23} ${24} ${25};; - siteinfo) SITEINFO ${2} ${3} ${4} ${5} ${6};; + sites) SITEINFO ${2} ${3} ${4} ${5} ${6};; update) ;; update-nodes) @@ -1032,9 +1032,10 @@ GUI(){ *) echo -e "Commands followed by '-h' will show addtional info. {work-in-progress}" echo - echo -e "Usage: ${idsCL[LightCyan]}nodemgmt ${idsCL[Yellow]}{COMMAND}${idsCL[Default]} {" + echo -e "Usage: ${idsCL[LightCyan]}nodemgmt / nmg ${idsCL[Yellow]}{COMMAND}${idsCL[Default]} {" echo -e " ${idsCL[Yellow]}backup${idsCL[Default]} - Run backup of node items" echo -e " ${idsCL[Yellow]}certrenew${idsCL[Default]} - Renew all SSL Certificates" + echo -e " ${idsCL[Yellow]}certs${idsCL[Default]} - View/Edit SSL Certificates" echo -e " ${idsCL[Yellow]}checkcerts${idsCL[Default]} - Check SSL Expirations" echo -e " ${idsCL[Yellow]}delsite${idsCL[Default]} - Delete entire site" echo -e " ${idsCL[Yellow]}delsites${idsCL[Default]} - (UI) Delete entire site" @@ -1042,14 +1043,13 @@ GUI(){ echo -e " ${idsCL[Yellow]}downlist or dl${idsCL[Default]} - Displays all down services and/or hosts" echo -e " ${idsCL[Yellow]}gui${idsCL[Default]} - Nodemgmt UI interface" echo -e " ${idsCL[Yellow]}haproxy-config${idsCL[Default]} - Push out haproxy config" - echo -e " ${idsCL[Yellow]}listcerts${idsCL[Default]} - List all SSL Certificates and Common Names" echo -e " ${idsCL[Yellow]}newcert${idsCL[Default]} [domain(,s)] - Generate new SSL Certificate" echo -e " ${idsCL[Yellow]}newsite${idsCL[Default]} - Create a new site" echo -e " ${idsCL[Yellow]}nightlyrenew${idsCL[Default]} - Renewal of SSL Certs, designed for cron tasks" echo -e " ${idsCL[Yellow]}run${idsCL[Default]} - Run a command on all Nodes" echo -e " ${idsCL[Yellow]}service${idsCL[Default]} [service] [action] - Manages services accross like nodes" echo -e " ${idsCL[Yellow]}set-permissions${idsCL[Default]} - Set specific permissions preset for app folders" - echo -e " ${idsCL[Yellow]}siteinfo${idsCL[Default]} - View detailed nginx site info" + echo -e " ${idsCL[Yellow]}sites${idsCL[Default]} - View/Edit NGINX Sites" echo -e " ${idsCL[Yellow]}status${idsCL[Default]} - Check Status of systems" echo -e " ${idsCL[Yellow]}update${idsCL[Default]} - Update nodemgmt" echo -e " ${idsCL[Yellow]}update-nodes${idsCL[Default]} - Update nodemgmt on all nodes"