Add flushing of ipset after config generation
All checks were successful
Deploy DNS Configuration / deploy (push) Successful in 1m42s
All checks were successful
Deploy DNS Configuration / deploy (push) Successful in 1m42s
This commit is contained in:
parent
368e3354b0
commit
c183c59b30
1 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue