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
93900a7a
Commit
93900a7a
authored
Jan 13, 2016
by
neil
Browse files
compatible with Proxmox, use cp instead of ln to update certs
parent
7bc5e3bb
Changes
1
Show whitespace changes
Inline
Side-by-side
le.sh
View file @
93900a7a
...
...
@@ -643,25 +643,25 @@ issue() {
if
[
"
$Le_RealCertPath
"
]
;
then
if
[
-f
"
$Le_RealCertPath
"
]
;
then
rm
-f
"
$Le_RealCertPath
"
cp
-p
"
$Le_RealCertPath
"
"
$Le_RealCertPath
"
.bak
fi
ln
-s
"
$CERT_PATH
"
"
$Le_RealCertPath
"
cat
"
$CERT_PATH
"
>
"
$Le_RealCertPath
"
fi
if
[
"
$Le_RealCACertPath
"
]
;
then
if
[
-f
"
$Le_RealCACertPath
"
]
;
then
rm
-f
"
$Le_RealCACertPath
"
cp
-p
"
$Le_RealCACertPath
"
"
$Le_RealCACertPath
"
.bak
fi
ln
-s
"
$CA_CERT_PATH
"
"
$Le_RealCACertPath
"
cat
"
$CA_CERT_PATH
"
>
"
$Le_RealCACertPath
"
fi
if
[
"
$Le_RealKeyPath
"
]
;
then
if
[
-f
"
$Le_RealKeyPath
"
]
;
then
rm
-
f
"
$Le_RealKeyPath
"
cp
-
p
"
$Le_RealKeyPath
"
"
$Le_RealKeyPath
"
.bak
fi
ln
-s
"
$CERT_KEY_PATH
"
"
$Le_RealKeyPath
"
cat
"
$CERT_KEY_PATH
"
>
"
$Le_RealKeyPath
"
fi
if
[
"
$Le_ReloadCmd
"
]
;
then
...
...
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