From bc8e44fc944577b5d5d7455daf4275cd6ada2262 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 18 Jun 2022 15:59:29 +0300 Subject: [PATCH] get_ipban: hup daemons if hostlist mode --- ipset/get_ipban.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ipset/get_ipban.sh b/ipset/get_ipban.sh index 825f342..2bda981 100755 --- a/ipset/get_ipban.sh +++ b/ipset/get_ipban.sh @@ -9,3 +9,5 @@ IPSET_DIR="$(cd "$IPSET_DIR"; pwd)" getipban "$IPSET_DIR/create_ipset.sh" + +[ "$MODE_FILTER" = hostlist ] && hup_zapret_daemons