netifyd: update to 3.09
authorDarryl Sokoloski <darryl@sokoloski.ca>
Wed, 17 Nov 2021 20:34:35 +0000 (15:34 -0500)
committerDarryl Sokoloski <darryl@sokoloski.ca>
Wed, 17 Nov 2021 20:34:35 +0000 (15:34 -0500)
Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca>
net/netifyd/Makefile
net/netifyd/files/netifyd.init

index 18a447a60bdac027e42ddf806df8333e2072a647..a14a6941e5de6258f6d7a6919b53c6596be55ea0 100644 (file)
@@ -1,12 +1,12 @@
 #
-# Copyright (C) 2016-2020 eGloo, Incorporated
+# Copyright (C) 2016-2021 eGloo, Incorporated
 #
 # This is free software, licensed under the GNU General Public License v2.
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=netifyd
-PKG_RELEASE:=2
+PKG_RELEASE:=1
 PKG_MAINTAINER:=Darryl Sokoloski <darryl@egloo.ca>
 PKG_LICENSE:=GPL-3.0-or-later
 
@@ -16,10 +16,10 @@ PKG_INSTALL:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://gitlab.com/netify.ai/public/netify-agent.git
-PKG_SOURCE_DATE:=2021-05-19
-PKG_SOURCE_VERSION:=v3.07
-#PKG_SOURCE_VERSION:=a22c66b9d916347b34f6d26de2a95c94f446401b
-PKG_MIRROR_HASH:=de6c4ce7bb00ec72478a7eeaa44b1a30d2ef64202f8524a000bce6015441a5ca
+PKG_SOURCE_DATE:=2021-11-17
+PKG_SOURCE_VERSION:=v3.09
+#PKG_SOURCE_VERSION:=358ec2b0ac321e0608e78c75f6b7434ed1aec326
+PKG_MIRROR_HASH:=660079a75a17a07c638b25dab0ecc972c02fec2124930068bfcf15d28abf4121
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -74,7 +74,7 @@ endif
 
 define Build/Configure
        (cd $(PKG_BUILD_DIR); ./autogen.sh)
-       $(call Build/Configure/Default,$(CONFIGURE_ARGS))
+       $(call Build/Configure/Default)
 endef
 
 define Build/InstallDev
index 3bc0282353f93b65fcd934ea1819c246d65a4edf..c5ecef8f442a510e0a508b7f5e8e623dd0bf56c3 100644 (file)
@@ -67,7 +67,7 @@ start_netifyd() {
        procd_open_instance
        procd_set_param file /etc/netifyd.conf
        procd_set_param term_timeout 20
-       procd_set_param respawn
+       procd_set_param respawn 3600 5 0
        procd_set_param command $PROG -R
 
        config_list_foreach "$instance" options append_params
@@ -92,3 +92,7 @@ start_service() {
        config_load netifyd
        config_foreach start_netifyd netifyd
 }
+
+reload_service() {
+       procd_send_signal netifyd
+}