From e3bb4b8260e776b30a17ffd1338b63dff837e1e1 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 13 May 2023 22:49:03 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- nodemgmt-scripts.sh | 29 ++++++++++++++--------------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/defaults.inc b/defaults.inc index bc9ee557..b9fc9b2c 100755 --- a/defaults.inc +++ b/defaults.inc @@ -206,7 +206,7 @@ declare -A BACKUP_ITEMS BACKUP_ITEMS[nginx-settings]=/etc/nginx BACKUP_ITEMS[letsencrypt-certs]=/etc/letsencrypt BACKUP_ITEMS[gitea]=/var/lib/gitea -BACKUP_ITEMS[nginx-logs]='/var/www/!NGINX-Logs' +BACKUP_ITEMS[nginx-logs]=/var/logs/nginx #BACKUP_ITEMS[webserver-files]=/var/www GET-CHECKCERT-DOMAINS(){ diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index f3a078a5..0b56bd7c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1272,7 +1272,6 @@ GUI(){ echo fi;; checkdocker) CHECK_DOCKER_SERVICES ${2};; - status-check) STATUS-CHECK ${2};; set-permissions) SET-PERMISSIONS ${2};; service) if [[ ( "$2" = "giteax" ) || ( "$2" = "powerdns-admin" ) ]] && [ "$3" = "start" ]; then @@ -1306,27 +1305,27 @@ 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 " ${idsCL[Yellow]}backup${idsCL[Default]}" - echo -e " ${idsCL[Yellow]}certrenew${idsCL[Default]}" + echo -e " ${idsCL[Yellow]}backup${idsCL[Default]} - Run backup" + echo -e " ${idsCL[Yellow]}certrenew${idsCL[Default]} - Renew all SSL Certificates" echo -e " ${idsCL[Yellow]}checkcerts${idsCL[Default]} - Check SSL Expirations" - echo -e " ${idsCL[Yellow]}delsite${idsCL[Default]}" - echo -e " ${idsCL[Yellow]}delsites${idsCL[Default]}" - echo -e " ${idsCL[Yellow]}delssl${idsCL[Default]}" - echo -e " ${idsCL[Yellow]}gui${idsCL[Default]}" - echo -e " ${idsCL[Yellow]}haproxy-config${idsCL[Default]}" + echo -e " ${idsCL[Yellow]}delsite${idsCL[Default]} - Delete entire site" + echo -e " ${idsCL[Yellow]}delsites${idsCL[Default]} - (UI) Delete entire site" + echo -e " ${idsCL[Yellow]}delssl${idsCL[Default]} - Delete SSL Certificate" + 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)]" + 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]}" + 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]}services${idsCL[Default]} - (UI) Manage services accross all nodes" - echo -e " ${idsCL[Yellow]}set-permissions${idsCL[Default]}" + echo -e " ${idsCL[Yellow]}set-permissions${idsCL[Default]} - Set specific permissions preset for app folders" echo -e " ${idsCL[Yellow]}status${idsCL[Default]} - Check Status of systems" - echo -e " ${idsCL[Yellow]}status-check${idsCL[Default]}" - echo -e " ${idsCL[Yellow]}update-nodes${idsCL[Default]}" - echo -e " ${idsCL[Yellow]}update-dyndns${idsCL[Default]}" - echo -e " ${idsCL[Yellow]}vc-ssl${idsCL[Default]}" + echo -e " ${idsCL[Yellow]}update${idsCL[Default]} - Update nodemgmt" + echo -e " ${idsCL[Yellow]}update-nodes${idsCL[Default]} - Update nodemgmt on all nodes" + echo -e " ${idsCL[Yellow]}update-dyndns${idsCL[Default]} - Update DYNDNS records" + echo -e " ${idsCL[Yellow]}vc-ssl${idsCL[Default]} - Update vCenter SSL" echo -e "}" echo "" echo ""