Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
b25d22b0
Commit
b25d22b0
authored
Jan 31, 2016
by
neil
Browse files
keep compatible
parent
e9209938
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
b25d22b0
#!/bin/bash
#!/bin/bash
VER
=
1.1.
2
VER
=
1.1.
3
PROJECT
=
"https://github.com/Neilpang/le"
PROJECT
=
"https://github.com/Neilpang/le"
DEFAULT_CA
=
"https://acme-v01.api.letsencrypt.org"
DEFAULT_CA
=
"https://acme-v01.api.letsencrypt.org"
...
@@ -1071,6 +1071,11 @@ install() {
...
@@ -1071,6 +1071,11 @@ install() {
mkdir
-p
$WORKING_DIR
/dnsapi
mkdir
-p
$WORKING_DIR
/dnsapi
cp
dnsapi/
*
$WORKING_DIR
/dnsapi/
cp
dnsapi/
*
$WORKING_DIR
/dnsapi/
#to keep compatible mv the .acc file to .key file
if
[
-f
"
$WORKING_DIR
/account.acc"
]
;
then
mv
"
$WORKING_DIR
/account.acc"
"
$WORKING_DIR
/account.key"
fi
installcronjob
installcronjob
_info OK
_info OK
...
...
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