Merge pull request #17146 from eglooca/master

netifyd: update to 3.09
This commit is contained in:
Stan Grishin 2021-11-17 15:52:26 -08:00 committed by GitHub
commit 8c1d7f0733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 8 deletions

View 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. # This is free software, licensed under the GNU General Public License v2.
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=netifyd PKG_NAME:=netifyd
PKG_RELEASE:=2 PKG_RELEASE:=1
PKG_MAINTAINER:=Darryl Sokoloski <darryl@egloo.ca> PKG_MAINTAINER:=Darryl Sokoloski <darryl@egloo.ca>
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later
@ -16,10 +16,10 @@ PKG_INSTALL:=1
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.com/netify.ai/public/netify-agent.git PKG_SOURCE_URL:=https://gitlab.com/netify.ai/public/netify-agent.git
PKG_SOURCE_DATE:=2021-05-19 PKG_SOURCE_DATE:=2021-11-17
PKG_SOURCE_VERSION:=v3.07 PKG_SOURCE_VERSION:=v3.09
#PKG_SOURCE_VERSION:=a22c66b9d916347b34f6d26de2a95c94f446401b #PKG_SOURCE_VERSION:=358ec2b0ac321e0608e78c75f6b7434ed1aec326
PKG_MIRROR_HASH:=de6c4ce7bb00ec72478a7eeaa44b1a30d2ef64202f8524a000bce6015441a5ca PKG_MIRROR_HASH:=660079a75a17a07c638b25dab0ecc972c02fec2124930068bfcf15d28abf4121
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -74,7 +74,7 @@ endif
define Build/Configure define Build/Configure
(cd $(PKG_BUILD_DIR); ./autogen.sh) (cd $(PKG_BUILD_DIR); ./autogen.sh)
$(call Build/Configure/Default,$(CONFIGURE_ARGS)) $(call Build/Configure/Default)
endef endef
define Build/InstallDev define Build/InstallDev

View File

@ -67,7 +67,7 @@ start_netifyd() {
procd_open_instance procd_open_instance
procd_set_param file /etc/netifyd.conf procd_set_param file /etc/netifyd.conf
procd_set_param term_timeout 20 procd_set_param term_timeout 20
procd_set_param respawn procd_set_param respawn 3600 5 0
procd_set_param command $PROG -R procd_set_param command $PROG -R
config_list_foreach "$instance" options append_params config_list_foreach "$instance" options append_params
@ -92,3 +92,7 @@ start_service() {
config_load netifyd config_load netifyd
config_foreach start_netifyd netifyd config_foreach start_netifyd netifyd
} }
reload_service() {
procd_send_signal netifyd
}