diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-12-13 18:02:56 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-12-14 01:14:08 +0100 |
commit | b22a20af450b19fb47235e684afcddb301221def (patch) | |
tree | 2b7a6d907ddf1fdb966c146e8637d09c973e4ac3 | |
parent | e2f8d200f598c67534c6292d732f7927b3609473 (diff) | |
download | mtk-20170518-b22a20af450b19fb47235e684afcddb301221def.zip mtk-20170518-b22a20af450b19fb47235e684afcddb301221def.tar.gz mtk-20170518-b22a20af450b19fb47235e684afcddb301221def.tar.bz2 |
procd: add support for service signals
Update procd to latest HEAD in order to introduce support for services signals:
- Adds a new service.signal ubus call to send a kill() signal to one or all
running instances of a given service
- Adds a new "reload_signal" property which allows service init scripts to
request procd to send a specific kill() signal on reload, instead of
stopping and restarting running processes
Also fixes some potential memory leaks reported by cppcheck and an environment
variable corruption in the trace command.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | package/system/procd/Makefile | 6 | ||||
-rw-r--r-- | package/system/procd/files/procd.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index 8f3d578..35305f8 100644 --- a/package/system/procd/Makefile +++ b/package/system/procd/Makefile @@ -8,16 +8,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=procd -PKG_VERSION:=2016-12-02 +PKG_VERSION:=2016-12-13 PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(LEDE_GIT)/project/procd.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=a07669704798cb0262485f69c5547033c64ade58 +PKG_SOURCE_VERSION:=f800ecf860addd4fc7f1acde76a9adbd4b1f50e7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz -PKG_MIRROR_MD5SUM:=d6a6760133a8ceb78d717a851f426266a35e3957381876d91824e9877fa8c096 +PKG_MIRROR_MD5SUM:=0e47fd3bf141e8f12866d9ec79cb42c971b3f6691eb87ce1ef71dc7473ab5ee4 CMAKE_INSTALL:=1 PKG_LICENSE:=GPL-2.0 diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index 290c90e..d2c5b42 100644 --- a/package/system/procd/files/procd.sh +++ b/package/system/procd/files/procd.sh @@ -210,7 +210,7 @@ _procd_set_param() { json_add_string "" "$@" json_close_array ;; - nice) + nice|reload_signal) json_add_int "$type" "$1" ;; pidfile|user|seccomp|capabilities) |