Regenerate MAS config on every start

This commit is contained in:
Your Name
2025-12-01 09:16:54 -06:00
parent d9e8adf59d
commit 1c29b1343c

View File

@@ -162,7 +162,7 @@ if [[ -n "${CLOUDRON_TURN_SERVER:-}" ]]; then
yq eval -i ".turn_shared_secret=\"${CLOUDRON_TURN_SECRET}\"" /app/data/configs/homeserver.yaml yq eval -i ".turn_shared_secret=\"${CLOUDRON_TURN_SECRET}\"" /app/data/configs/homeserver.yaml
fi fi
if [[ -f "${MAS_CONFIG_TEMPLATE}" && ! -f "${MAS_CONFIG_OUTPUT}" ]]; then if [[ -f "${MAS_CONFIG_TEMPLATE}" ]]; then
python3 - <<'PY' python3 - <<'PY'
import os import os
from pathlib import Path from pathlib import Path