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
4c1e5584
Commit
4c1e5584
authored
Jan 10, 2016
by
neil
Browse files
minor
parent
ed68afac
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
4c1e5584
#!/bin/bash
#!/bin/bash
PROJECT
=
"https://github.com/Neilpang/le"
DEFAULT_CA
=
"https://acme-v01.api.letsencrypt.org"
DEFAULT_CA
=
"https://acme-v01.api.letsencrypt.org"
DEFAULT_AGREEMENT
=
"https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"
DEFAULT_AGREEMENT
=
"https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"
...
@@ -295,7 +295,6 @@ _restoreApache() {
...
@@ -295,7 +295,6 @@ _restoreApache() {
cp
-p
"
$APACHE_CONF_BACKUP_DIR
/
$httpdconfname
"
"
$httpdconf
"
cp
-p
"
$APACHE_CONF_BACKUP_DIR
/
$httpdconfname
"
"
$httpdconf
"
if
!
apachectl
-t
;
then
if
!
apachectl
-t
;
then
_err
"Sorry, restore apache config error, please contact me."
_err
"Sorry, restore apache config error, please contact me."
_restoreApache
return
1
;
return
1
;
fi
fi
rm
-f
"
$APACHE_CONF_BACKUP_DIR
/
$httpdconfname
"
rm
-f
"
$APACHE_CONF_BACKUP_DIR
/
$httpdconfname
"
...
...
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