Commit 8097f080 authored by bol-van's avatar bol-van
Browse files

ipset: some pkill's do not support multiple patterns

parent 4cae291e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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