diff --git a/scripts/deploy-to-gateway.sh b/scripts/deploy-to-gateway.sh index ae39514..6099ba4 100644 --- a/scripts/deploy-to-gateway.sh +++ b/scripts/deploy-to-gateway.sh @@ -40,6 +40,10 @@ if ! docker ps | grep -q "$DOCKER_CONTAINER"; then exit 1 fi +# Очистка IPSET +echo "Flushing ipset bbrkn..." +ipset flush bbrkn + echo "Deployment completed successfully" DOMAIN_COUNT=$(grep -c '^ipset=' "$TARGET_DIR/$(basename "$IPSET_CONF")" || echo "0") echo "Applied configuration for $DOMAIN_COUNT domains"