update
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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 '
|
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns '
|
||||||
CERT_DAEMON='/snap/bin/certbot'
|
CERT_DAEMON='/snap/bin/certbot'
|
||||||
@@ -204,7 +204,7 @@ CERT-CHECK(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
SENDNOTICE(){
|
SENDNOTICE(){
|
||||||
[ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}
|
[ "${PUSHOVER_USER_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}
|
||||||
|
|
||||||
$(date)" "${1}" ${3} &
|
$(date)" "${1}" ${3} &
|
||||||
|
|
||||||
|
|||||||
17
install.sh
17
install.sh
@@ -4,9 +4,7 @@
|
|||||||
source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)"
|
source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)"
|
||||||
source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)"
|
source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)"
|
||||||
|
|
||||||
|
echo -e "\n${idsCL[LightGreen]}NodeMgmt Installation Script${idsCL[Default]}"
|
||||||
echo
|
|
||||||
echo -e "${idsCL[LightGreen]}NodeMgmt Installation Script${idsCL[Default]}"
|
|
||||||
|
|
||||||
$APTFUNC -y install wget curl git
|
$APTFUNC -y install wget curl git
|
||||||
|
|
||||||
@@ -25,17 +23,12 @@ echo -e "NODE_HOSTNAME=\"$(hostname)\"
|
|||||||
|
|
||||||
#(optional)
|
#(optional)
|
||||||
# EMAIL_NOTICE=email@address.com
|
# EMAIL_NOTICE=email@address.com
|
||||||
# PUSHOVER_APP_TOKEN=""
|
# PUSHOVER_APP_TOKEN=\"a2tk778mwe9b3tks1u16juas4rztjr\"
|
||||||
# PUSHOVER_USER_TOKEN=""
|
# PUSHOVER_USER_TOKEN=\"\"
|
||||||
|
|
||||||
" > /opt/idssys/nodemgmt/conf/settings.conf
|
" > /opt/idssys/nodemgmt/conf/settings.conf
|
||||||
|
|
||||||
|
echo -e "\n${idsCL[Yellow]}NodeMgmt has been Installed${idsCL[Default]}\n"
|
||||||
echo
|
echo -e "To run, use the command: ${idsCL[Green]}nodemgmt${idsCL[Default]}\n\n"
|
||||||
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
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
Reference in New Issue
Block a user