docs: remove --destroy blocker — tool handles cert backup/restore

This commit is contained in:
Claus Lohmar 2026-07-07 12:57:58 +01:00
parent 2398bdce83
commit 25c0e7b9b7

View file

@ -22,12 +22,6 @@ DOMAIN="${DOMAIN:-nextwks.eu}"
# --- Mode detection --- # --- Mode detection ---
GREENFIELD=false GREENFIELD=false
if [ "${1:-}" = "--destroy" ]; then if [ "${1:-}" = "--destroy" ]; then
echo ""
echo "⚠️ WARNING: Greenfield deploy destroys LE certificates and hits Let's Encrypt rate limits!"
echo " Only use --destroy if you understand the consequences."
echo " Press Ctrl+C now to abort, or wait 5 seconds to continue..."
echo ""
sleep 5
GREENFIELD=true GREENFIELD=true
echo "[MODE] Greenfield deploy (--destroy)" echo "[MODE] Greenfield deploy (--destroy)"
elif [ ! -d "$TARGET_DIR" ]; then elif [ ! -d "$TARGET_DIR" ]; then