|
|
@ -8,7 +8,6 @@ |
|
|
|
|
|
|
|
|
#returns 0 means success, otherwise error. |
|
|
#returns 0 means success, otherwise error. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Settings for Plex Media Server: |
|
|
# Settings for Plex Media Server: |
|
|
# |
|
|
# |
|
|
# PLEX_PKCS12_password -- Password for the PKCS file. Required by plex |
|
|
# PLEX_PKCS12_password -- Password for the PKCS file. Required by plex |
|
|
@ -35,10 +34,8 @@ plex_deploy() { |
|
|
_getdeployconf PLEX_PKCS12_file |
|
|
_getdeployconf PLEX_PKCS12_file |
|
|
_getdeployconf PLEX_sudo_required |
|
|
_getdeployconf PLEX_sudo_required |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#_DEPLOY_PLEX_WIKI="https://github.com/acmesh-official/acme.sh/wiki/deploy-to-plex" |
|
|
#_DEPLOY_PLEX_WIKI="https://github.com/acmesh-official/acme.sh/wiki/deploy-to-plex" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$PLEX_PKCS12_password" ]; then |
|
|
if [ -z "$PLEX_PKCS12_password" ]; then |
|
|
_err "The PLEX_PKCS12_password variable is not defined. Plex requires a password for the certificate." |
|
|
_err "The PLEX_PKCS12_password variable is not defined. Plex requires a password for the certificate." |
|
|
#_err "See: $_DEPLOY_PLEX_WIKI" |
|
|
#_err "See: $_DEPLOY_PLEX_WIKI" |
|
|
|