mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 05:34:20 +01:00
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Let's Encrypt",
|
||||
"version": "0.8",
|
||||
"version": "0.9",
|
||||
"slug": "letsencrypt",
|
||||
"description": "Manage Let's Encrypt certificate",
|
||||
"url": "https://home-assistant.io/addons/lets_encrypt/",
|
||||
|
||||
@@ -10,8 +10,10 @@ DOMAINS=$(jq --raw-output ".domains[]" $CONFIG_PATH)
|
||||
KEYFILE=$(jq --raw-output ".keyfile" $CONFIG_PATH)
|
||||
CERTFILE=$(jq --raw-output ".certfile" $CONFIG_PATH)
|
||||
|
||||
mkdir -p "$CERT_DIR"
|
||||
|
||||
# Generate new certs
|
||||
if [ ! -d "$CERT_DIR" ]; then
|
||||
if [ ! -d "$CERT_DIR/live" ]; then
|
||||
DOMAIN_ARR=()
|
||||
for line in $DOMAINS; do
|
||||
DOMAIN_ARR+=(-d "$line")
|
||||
|
||||
Reference in New Issue
Block a user