zabbix: Call killall with the -s
authorJan Baier <jan.baier@amagical.net>
Mon, 16 Aug 2021 10:19:46 +0000 (12:19 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 19 Aug 2021 19:24:10 +0000 (21:24 +0200)
Some versions of killall do support the `killall -SIGNAL` syntax and
have only `-s SIGNAL` which should be supported everywhere.

I see the problem with *killall (PSmisc) 23.3* on latest TurrisOS 5.2

Signed-off-by: Jan Baier <jan.baier@amagical.net>
(cherry picked from commit 641f75d98ac77139d44056d260395efea169abf7)

admin/zabbix/Makefile

index 53fc65291839414421d6c1ad41534143d78467e2..f4d3fafc0bdb1f406d7ec5ce4c362c0af385564a 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zabbix
 PKG_VERSION:=5.0.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://cdn.zabbix.com/zabbix/sources/stable/5.0/
@@ -266,7 +266,7 @@ endef
 define Package/zabbix-extra-network/postinst
 #!/bin/sh
 if [ -z "$${IPKG_INSTROOT}" ]; then
-       killall -HUP ubusd
+       killall -HUP ubusd
 fi
 endef
 
@@ -279,7 +279,7 @@ endef
 define Package/zabbix-extra-wifi/postinst
 #!/bin/sh
 if [ -z "$${IPKG_INSTROOT}" ]; then
-       killall -HUP ubusd
+       killall -HUP ubusd
 fi
 endef