Add license
This commit is contained in:
3
acme-cpanel.sh
Executable file → Normal file
3
acme-cpanel.sh
Executable file → Normal file
@@ -5,6 +5,7 @@
|
|||||||
# See README.md for more details
|
# See README.md for more details
|
||||||
#
|
#
|
||||||
# Copyright 2020 Bryan Roessler <bryanroessler@gmail.com>
|
# Copyright 2020 Bryan Roessler <bryanroessler@gmail.com>
|
||||||
|
# MIT Licensed
|
||||||
|
|
||||||
unset SITES_DIR USEREMAIL DOMAIN_FILES DOMAIN_GROUPS DEPLOY_CMD_PREFIX ISSUE_CMD_PREFIX DEBUG GROUP
|
unset SITES_DIR USEREMAIL DOMAIN_FILES DOMAIN_GROUPS DEPLOY_CMD_PREFIX ISSUE_CMD_PREFIX DEBUG GROUP
|
||||||
|
|
||||||
@@ -197,7 +198,7 @@ issue_and_deploy_certs() {
|
|||||||
|
|
||||||
# Deploy certificates one domain at a time
|
# Deploy certificates one domain at a time
|
||||||
for domain in $domain_group; do
|
for domain in $domain_group; do
|
||||||
deploy_cmd=("${DEPLOY_CMD_PREFIX[@]}" "-d" "$domain") # I think we only need to deploy to the domain, not subdomains (e.g. www.)
|
deploy_cmd=("${DEPLOY_CMD_PREFIX[@]}" "-d" "$domain") # only deploy to the domain, not subdomains
|
||||||
echo "Running:" "${deploy_cmd[@]}"
|
echo "Running:" "${deploy_cmd[@]}"
|
||||||
if ! "${deploy_cmd[@]}"; then
|
if ! "${deploy_cmd[@]}"; then
|
||||||
echo "Failed to deploy certificate for $domain"
|
echo "Failed to deploy certificate for $domain"
|
||||||
|
|||||||
Reference in New Issue
Block a user