ipset: remove hup

This commit is contained in:
bol-van
2024-10-29 19:02:07 +03:00
parent b176af43a4
commit 9d43dfdc71
7 changed files with 0 additions and 25 deletions

View File

@@ -255,16 +255,3 @@ getipban()
_get_ipban
return 0
}
hup_zapret_daemons()
{
echo forcing zapret daemons to reload their hostlist
if exists killall; then
killall -HUP tpws nfqws dvtws 2>/dev/null
elif exists pkill; then
pkill -HUP ^tpws$ ^nfqws$ ^dvtws$
else
echo no mass killer available ! cant HUP zapret daemons
fi
}