Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
3365df77
Commit
3365df77
authored
Feb 08, 2017
by
David Kerr
Browse files
Make certificate domain name part of the backup directory name.
parent
3be5a68e
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/ssh.sh
View file @
3365df77
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment