Scruel Tao
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
deploy/synology_dsm.sh
|
|
@ -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" |
|
|
|