Create copycerts.sh.example.inc
This commit is contained in:
10
conf/copycerts.sh.example.inc
Executable file
10
conf/copycerts.sh.example.inc
Executable file
@@ -0,0 +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
|
||||||
|
|
||||||
|
## Commnands to run if cert is replaced
|
||||||
|
COPYCERTS_POST_COMMANDS(){
|
||||||
|
SERVICE_MGMT nginx reload
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user