mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-07 22:07:27 +05:00
ipset: some pkill's do not support multiple patterns
This commit is contained in:
parent
4cae291e6f
commit
8097f08020
@ -274,7 +274,9 @@ hup_zapret_daemons()
|
||||
if exists killall; then
|
||||
killall -HUP tpws nfqws dvtws 2>/dev/null
|
||||
elif exists pkill; then
|
||||
pkill -HUP ^tpws$ ^nfqws$ ^dvtws$
|
||||
pkill -HUP ^tpws$
|
||||
pkill -HUP ^nfqws$
|
||||
pkill -HUP ^dvtws$
|
||||
else
|
||||
echo no mass killer available ! cant HUP zapret daemons
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user