This commit is contained in:
2023-07-16 23:02:14 -05:00
parent 39175d2637
commit 351782f1d2
2 changed files with 7 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
VERS='4.10.10-07162023'
VERS='4.10.16-07162023'
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns '
CERT_DAEMON='/snap/bin/certbot'
@@ -204,7 +204,7 @@ CERT-CHECK(){
}
SENDNOTICE(){
[ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}
[ "${PUSHOVER_USER_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}
$(date)" "${1}" ${3} &

View File

@@ -4,9 +4,7 @@
source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)"
source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)"
echo
echo -e "${idsCL[LightGreen]}NodeMgmt Installation Script${idsCL[Default]}"
echo -e "\n${idsCL[LightGreen]}NodeMgmt Installation Script${idsCL[Default]}"
$APTFUNC -y install wget curl git
@@ -25,17 +23,12 @@ echo -e "NODE_HOSTNAME=\"$(hostname)\"
#(optional)
# EMAIL_NOTICE=email@address.com
# PUSHOVER_APP_TOKEN=""
# PUSHOVER_USER_TOKEN=""
# PUSHOVER_APP_TOKEN=\"a2tk778mwe9b3tks1u16juas4rztjr\"
# PUSHOVER_USER_TOKEN=\"\"
" > /opt/idssys/nodemgmt/conf/settings.conf
echo
echo -e "${idsCL[Yellow]}NodeMgmt has been Installed${idsCL[Default]}"
echo
echo -e "To run, use the command: ${idsCL[Green]}nodemgmt${idsCL[Default]}"
echo
echo
echo -e "\n${idsCL[Yellow]}NodeMgmt has been Installed${idsCL[Default]}\n"
echo -e "To run, use the command: ${idsCL[Green]}nodemgmt${idsCL[Default]}\n\n"
exit 0