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
276b51d9
Commit
276b51d9
authored
Sep 21, 2016
by
neil
Browse files
minor
parent
251d1c5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
276b51d9
...
...
@@ -1177,7 +1177,7 @@ _stopserver(){
_debug2
"Le_HTTPPort"
"
$Le_HTTPPort
"
if
[
"
$Le_HTTPPort
"
]
;
then
if
[
"
$DEBUG
"
]
&&
[
"
$DEBUG
"
-g
e
"3"
]
;
then
if
[
"
$DEBUG
"
]
&&
[
"
$DEBUG
"
-g
t
"3"
]
;
then
_get
"http://localhost:
$Le_HTTPPort
"
""
1
else
_get
"http://localhost:
$Le_HTTPPort
"
""
1
>
/dev/null 2>&1
...
...
@@ -1186,7 +1186,7 @@ _stopserver(){
_debug2
"Le_TLSPort"
"
$Le_TLSPort
"
if
[
"
$Le_TLSPort
"
]
;
then
if
[
"
$DEBUG
"
]
&&
[
"
$DEBUG
"
-g
e
"3"
]
;
then
if
[
"
$DEBUG
"
]
&&
[
"
$DEBUG
"
-g
t
"3"
]
;
then
_get
"https://localhost:
$Le_TLSPort
"
""
1
_get
"https://localhost:
$Le_TLSPort
"
""
1
else
...
...
@@ -2191,6 +2191,7 @@ issue() {
fi
if
[
"
$DEBUG
"
]
;
then
if
[
"
$vtype
"
=
"
$VTYPE_HTTP
"
]
;
then
_debug
"Debug: get token url."
_get
"http://
$d
/.well-known/acme-challenge/
$token
"
fi
fi
...
...
@@ -3610,14 +3611,9 @@ if [ "$INSTALLONLINE" ] ; then
exit
fi
if
[
-z
"
$1
"
]
;
then
showhelp
else
if
echo
"
$1
"
|
grep
"^-"
>
/dev/null 2>&1
;
then
_process
"
$@
"
else
"
$@
"
fi
fi
[
-z
"
$1
"
]
&&
showhelp
&&
exit
if
_startswith
"
$1
"
'-'
;
then
_process
"
$@
"
;
else
"
$@
"
;
fi
;
exit
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