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
9ab6353d
Commit
9ab6353d
authored
Feb 05, 2017
by
David Kerr
Browse files
Trying again.
parent
ff60dc4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/sshdeploy.sh
View file @
9ab6353d
...
@@ -36,15 +36,9 @@ sshdeploy_deploy() {
...
@@ -36,15 +36,9 @@ sshdeploy_deploy() {
_homedir
=
"
$_homedir
/.acme_ssh_deploy"
_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
)
"
if
[
-
z
"
$DOMAIN_CONF
"
]
;
then
if
[
-
f
"
$DOMAIN_CONF
"
]
;
then
DOMAIN_CONF
=
"
"
.
"
$
DOMAIN_CONF
"
fi
fi
if
[
!
-f
"
$DOMAIN_CONF
"
]
;
then
_err
"
$DOMAIN_CONF
does not exist."
return
1
fi
.
"
$DOMAIN_CONF
"
_debug _cdomain
"
$_cdomain
"
_debug _cdomain
"
$_cdomain
"
_debug _ckey
"
$_ckey
"
_debug _ckey
"
$_ckey
"
...
...
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