update
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Comma seperated for multiple sites
|
||||
## Comma-seperated for multiple sites
|
||||
local COPYCERT="hostgname.domain.com"
|
||||
|
||||
## Comma seperated, in same order as above
|
||||
## Comma-seperated, in same order as above
|
||||
local CERTFOLDER="/local/cert/path"
|
||||
|
||||
## Commnands to run if cert is replaced
|
||||
## Commands to run if cert is replaced
|
||||
COPYCERTS_POST_COMMANDS(){
|
||||
SERVICE_MGMT nginx reload
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VERS='5.6.1d-07052025'
|
||||
VERS='5.6.1f-07052025'
|
||||
NM_BETA=false
|
||||
|
||||
noheader=' test service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix '
|
||||
|
||||
@@ -690,7 +690,7 @@ COPYCERTS(){
|
||||
((i++))
|
||||
done
|
||||
echo
|
||||
[ ${RUN_POST_COMMANDS} = true ] && COPYCERTS_POST_COMMANDS && echo
|
||||
[ ${RUN_POST_COMMANDS} = true ] && COPYCERTS_POST_COMMANDS && echo
|
||||
|
||||
else
|
||||
echo -e "${idsCL[Red]}Config file not complete, missing at least COPYCERT and/or CERTFOLDER variables${idsCL[Default]}\n"
|
||||
|
||||
@@ -424,6 +424,8 @@ NODEUPDATE(){
|
||||
${NMCMD} rsync -az ${NM_FOLDER}/conf/*.inc ${NM_FOLDER}/conf/*.conf root@${nip}:${NM_FOLDER}/conf/ </dev/null 2>&1
|
||||
${NMCMD} rsync -az ${NM_FOLDER}/conf/powerwall ${NM_FOLDER}/conf/*.conf root@${nip}:${NM_FOLDER}/conf/ </dev/null 2>&1
|
||||
sleep 2s
|
||||
source /opt/idssys/nodemgmt/conf/settings.conf
|
||||
source /opt/idssys/nodemgmt/defaults.inc
|
||||
[ "${NM_GITPASS}" != "" ] && [ "${NM_GITUSER^^}" == "VOLTRON" ] && ${NMCMD} "bash <(curl -sL https://go.scity.us/add-linux-pass)" </dev/null 2>&1
|
||||
echo -e "${idsCL[Green]}Installed & Synced${idsCL[Default]}" >> ${tmpfile}.running
|
||||
elif [ ${noup} -eq 1 ]; then
|
||||
|
||||
Reference in New Issue
Block a user