From 6aba8485d8dc2a46a8cc531e2a7227d4db11648a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 5 Jul 2025 16:57:54 -0500 Subject: [PATCH] update --- conf/copycerts.sh.example.inc | 7 +++++-- defaults.inc | 2 +- inc/certs.inc | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/conf/copycerts.sh.example.inc b/conf/copycerts.sh.example.inc index e31ed53d..3b33a59c 100755 --- a/conf/copycerts.sh.example.inc +++ b/conf/copycerts.sh.example.inc @@ -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(){ diff --git a/defaults.inc b/defaults.inc index 8388a895..b323db47 100755 --- a/defaults.inc +++ b/defaults.inc @@ -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 ' diff --git a/inc/certs.inc b/inc/certs.inc index d2a5f5c8..e9789e62 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -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"