update
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
local COPYCERT="hostgname.domain.com" ## Comma seperated for multiple sites
|
## Comma seperated for multiple sites
|
||||||
local CERTFOLDER="/local/cert/path" ## Comma seperated, in same order as above
|
local COPYCERT="hostgname.domain.com"
|
||||||
|
|
||||||
|
## Comma seperated, in same order as above
|
||||||
|
local CERTFOLDER="/local/cert/path"
|
||||||
|
|
||||||
## Commnands to run if cert is replaced
|
## Commnands to run if cert is replaced
|
||||||
COPYCERTS_POST_COMMANDS(){
|
COPYCERTS_POST_COMMANDS(){
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='5.6.1a-07052025'
|
VERS='5.6.1d-07052025'
|
||||||
NM_BETA=false
|
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 '
|
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++))
|
((i++))
|
||||||
done
|
done
|
||||||
echo
|
echo
|
||||||
[ ${RUN_POST_COMMANDS} = true ] && COPYCERTS_POST_COMMANDS && echo
|
[ ${RUN_POST_COMMANDS} = true ] && COPYCERTS_POST_COMMANDS && echo
|
||||||
|
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Red]}Config file not complete, missing at least COPYCERT and/or CERTFOLDER variables${idsCL[Default]}\n"
|
echo -e "${idsCL[Red]}Config file not complete, missing at least COPYCERT and/or CERTFOLDER variables${idsCL[Default]}\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user