This commit is contained in:
2025-07-05 16:57:54 -05:00
parent ddac9258b6
commit 6aba8485d8
3 changed files with 7 additions and 4 deletions

View File

@@ -1,7 +1,10 @@
#!/usr/bin/env bash
local COPYCERT="hostgname.domain.com" ## Comma seperated for multiple sites
local CERTFOLDER="/local/cert/path" ## Comma seperated, in same order as above
## Comma seperated for multiple sites
local COPYCERT="hostgname.domain.com"
## Comma seperated, in same order as above
local CERTFOLDER="/local/cert/path"
## Commnands to run if cert is replaced
COPYCERTS_POST_COMMANDS(){

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='5.6.1a-07052025'
VERS='5.6.1d-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 '

View File

@@ -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"