1
0
mirror of https://github.com/hiskang/acme.sh synced 2025-06-14 19:36:18 +00:00

Make certificate domain name part of the backup directory name.

This commit is contained in:
David Kerr 2017-02-08 10:15:39 -05:00
parent 3be5a68e12
commit 3365df7778

View File

@ -34,7 +34,7 @@ ssh_deploy() {
_cfullchain="$5"
_cmdstr=""
_homedir='~'
_backupprefix="$_homedir/.acme_ssh_deploy/certs-backup"
_backupprefix="$_homedir/.acme_ssh_deploy/$_cdomain-backup"
_backupdir="$_backupprefix-$(_utc_date | tr ' ' '-')"
if [ -f "$DOMAIN_CONF" ]; then