Merge pull request #11086 from michyprima/fix-ser2net
ser2net: fix rpcd reload
This commit is contained in:
commit
14e1c41cb7
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue