Add flushing of ipset after config generation
All checks were successful
Deploy DNS Configuration / deploy (push) Successful in 1m42s

This commit is contained in:
goodvin 2025-11-15 13:29:22 +03:00
parent 368e3354b0
commit c183c59b30

View file

@ -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"