|
@ -22,8 +22,6 @@ |
|
|
# export ACME_DEPLOY_SSH_REMOTE_CMD="/etc/init.d/stunnel.sh restart" |
|
|
# export ACME_DEPLOY_SSH_REMOTE_CMD="/etc/init.d/stunnel.sh restart" |
|
|
# export ACME_DEPLOY_SSH_SERVICE_START="" |
|
|
# export ACME_DEPLOY_SSH_SERVICE_START="" |
|
|
|
|
|
|
|
|
. "$DOMAIN_CONF" |
|
|
|
|
|
|
|
|
|
|
|
######## Public functions ##################### |
|
|
######## Public functions ##################### |
|
|
|
|
|
|
|
|
#domain keyfile certfile cafile fullchain |
|
|
#domain keyfile certfile cafile fullchain |
|
@ -34,9 +32,12 @@ sshdeploy_deploy() { |
|
|
_cca="$4" |
|
|
_cca="$4" |
|
|
_cfullchain="$5" |
|
|
_cfullchain="$5" |
|
|
_cmdstr="" |
|
|
_cmdstr="" |
|
|
_homedir="~/.acme_ssh_deploy" |
|
|
|
|
|
|
|
|
_homedir='~' |
|
|
|
|
|
_homedir="$_homedir/.acme_ssh_deploy" |
|
|
_backupdir="$_homedir/certs-backup-$(date +%Y%m%d%H%M%S)" |
|
|
_backupdir="$_homedir/certs-backup-$(date +%Y%m%d%H%M%S)" |
|
|
|
|
|
|
|
|
|
|
|
. "$DOMAIN_CONF" |
|
|
|
|
|
|
|
|
_debug _cdomain "$_cdomain" |
|
|
_debug _cdomain "$_cdomain" |
|
|
_debug _ckey "$_ckey" |
|
|
_debug _ckey "$_ckey" |
|
|
_debug _ccert "$_ccert" |
|
|
_debug _ccert "$_ccert" |
|
|