This commit is contained in:
2023-05-13 22:49:03 -05:00
parent 79c268ff22
commit e3bb4b8260
2 changed files with 15 additions and 16 deletions

View File

@@ -206,7 +206,7 @@ declare -A BACKUP_ITEMS
BACKUP_ITEMS[nginx-settings]=/etc/nginx BACKUP_ITEMS[nginx-settings]=/etc/nginx
BACKUP_ITEMS[letsencrypt-certs]=/etc/letsencrypt BACKUP_ITEMS[letsencrypt-certs]=/etc/letsencrypt
BACKUP_ITEMS[gitea]=/var/lib/gitea 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 #BACKUP_ITEMS[webserver-files]=/var/www
GET-CHECKCERT-DOMAINS(){ GET-CHECKCERT-DOMAINS(){

View File

@@ -1272,7 +1272,6 @@ GUI(){
echo echo
fi;; fi;;
checkdocker) CHECK_DOCKER_SERVICES ${2};; checkdocker) CHECK_DOCKER_SERVICES ${2};;
status-check) STATUS-CHECK ${2};;
set-permissions) SET-PERMISSIONS ${2};; set-permissions) SET-PERMISSIONS ${2};;
service) service)
if [[ ( "$2" = "giteax" ) || ( "$2" = "powerdns-admin" ) ]] && [ "$3" = "start" ]; then 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 -e "Commands followed by '-h' will show addtional info. {work-in-progress}"
echo echo
echo -e "Usage: ${idsCL[LightCyan]}nodemgmt ${idsCL[Yellow]}{COMMAND}${idsCL[Default]} {" echo -e "Usage: ${idsCL[LightCyan]}nodemgmt ${idsCL[Yellow]}{COMMAND}${idsCL[Default]} {"
echo -e " ${idsCL[Yellow]}backup${idsCL[Default]}" echo -e " ${idsCL[Yellow]}backup${idsCL[Default]} - Run backup"
echo -e " ${idsCL[Yellow]}certrenew${idsCL[Default]}" 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]}checkcerts${idsCL[Default]} - Check SSL Expirations"
echo -e " ${idsCL[Yellow]}delsite${idsCL[Default]}" echo -e " ${idsCL[Yellow]}delsite${idsCL[Default]} - Delete entire site"
echo -e " ${idsCL[Yellow]}delsites${idsCL[Default]}" echo -e " ${idsCL[Yellow]}delsites${idsCL[Default]} - (UI) Delete entire site"
echo -e " ${idsCL[Yellow]}delssl${idsCL[Default]}" echo -e " ${idsCL[Yellow]}delssl${idsCL[Default]} - Delete SSL Certificate"
echo -e " ${idsCL[Yellow]}gui${idsCL[Default]}" echo -e " ${idsCL[Yellow]}gui${idsCL[Default]} - Nodemgmt UI interface"
echo -e " ${idsCL[Yellow]}haproxy-config${idsCL[Default]}" 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]}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]}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]}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]}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]}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${idsCL[Default]} - Check Status of systems"
echo -e " ${idsCL[Yellow]}status-check${idsCL[Default]}" echo -e " ${idsCL[Yellow]}update${idsCL[Default]} - Update nodemgmt"
echo -e " ${idsCL[Yellow]}update-nodes${idsCL[Default]}" echo -e " ${idsCL[Yellow]}update-nodes${idsCL[Default]} - Update nodemgmt on all nodes"
echo -e " ${idsCL[Yellow]}update-dyndns${idsCL[Default]}" echo -e " ${idsCL[Yellow]}update-dyndns${idsCL[Default]} - Update DYNDNS records"
echo -e " ${idsCL[Yellow]}vc-ssl${idsCL[Default]}" echo -e " ${idsCL[Yellow]}vc-ssl${idsCL[Default]} - Update vCenter SSL"
echo -e "}" echo -e "}"
echo "" echo ""
echo "" echo ""