mirror of
https://github.com/bol-van/zapret.git
synced 2025-08-10 01:02:03 +03:00
ipset: remove hup
This commit is contained in:
13
ipset/def.sh
13
ipset/def.sh
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user