14 lines
274 B
Bash
Executable File
14 lines
274 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
## Comma-seperated for multiple sites
|
|
local COPYCERT="hostgname.domain.com"
|
|
|
|
## Comma-seperated, in same order as above
|
|
local CERTFOLDER="/local/cert/path"
|
|
|
|
## Commands to run if cert is replaced
|
|
COPYCERTS_POST_COMMANDS(){
|
|
SERVICE_MGMT nginx reload
|
|
}
|
|
|