ser2net: fix rpcd reload

ser2net did not get restarted after saving in uci or luci

Signed-off-by: Michele Primavera <primavera@elmod.it>
This commit is contained in:
Michele Primavera 2020-01-21 12:39:04 +01:00
parent 247b5c4c7b
commit 8299fac7ab
2 changed files with 7 additions and 1 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ser2net
PKG_VERSION:=3.5.1
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ser2net

View file

@ -182,5 +182,11 @@ start_service() {
procd_open_instance
procd_set_param command "$PROG" -n -c "$DYNAMICCFGFILE"
procd_set_param file "$DYNAMICCFGFILE"
procd_close_instance
}
service_triggers() {
procd_add_reload_trigger "ser2net"
}