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
29b29608
Unverified
Commit
29b29608
authored
Sep 07, 2023
by
Scruel Tao
Committed by
GitHub
Sep 07, 2023
Browse files
Optimze comment & remove tail space
parent
f7f3a0bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/synology_dsm.sh
View file @
29b29608
...
...
@@ -19,7 +19,7 @@
# - export SYNO_Scheme="http"
# - export SYNO_Hostname="localhost"
# - export SYNO_Port="5000"
# - export SYNO_Create=1 to allow creating the certificate if it doesn't exist
# - export SYNO_Create=1
-
to allow creating the certificate if it doesn't exist
# - export SYNO_Device_Name="CertRenewal" - required if 2FA-OTP enabled
# - export SYNO_Device_ID="" - required for skipping 2FA-OTP
# 3. acme.sh --deploy --deploy-hook synology_dsm -d example.com
...
...
@@ -191,7 +191,7 @@ synology_dsm_deploy() {
_H1
=
"X-SYNO-TOKEN:
$token
"
export
_H1
_debug2 H1
"
${
_H1
}
"
_debug2 H1
"
${
_H1
}
"
# Now that we know the username & password are good, save them
_savedeployconf SYNO_Username
"
$SYNO_Username
"
...
...
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