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
25555b8c
Commit
25555b8c
authored
Jan 22, 2017
by
neil
Browse files
pass the paths to reload cmd
parent
68aea3af
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
25555b8c
...
@@ -3349,9 +3349,14 @@ _installcert() {
...
@@ -3349,9 +3349,14 @@ _installcert() {
fi
fi
if [ "$Le_ReloadCmd" ]; then
if [ "$Le_ReloadCmd" ]; then
_info "Run Le_ReloadCmd: $Le_ReloadCmd"
_info "Run Le_ReloadCmd: $Le_ReloadCmd"
if
(
cd
"
$DOMAIN_PATH
"
&&
eval
"
$Le_ReloadCmd
"
)
;
then
if (
export CERT_PATH
export CERT_KEY_PATH
export CA_CERT_PATH
export CERT_FULLCHAIN_PATH
cd "$DOMAIN_PATH" && eval "$Le_ReloadCmd"
); then
_info "$(__green "Reload success")"
_info "$(__green "Reload success")"
else
else
_err "Reload error for :$Le_Domain"
_err "Reload error for :$Le_Domain"
...
...
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