aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-12-13 18:02:56 +0100
committerJo-Philipp Wich <jo@mein.io>2016-12-14 01:14:08 +0100
commitb22a20af450b19fb47235e684afcddb301221def (patch)
tree2b7a6d907ddf1fdb966c146e8637d09c973e4ac3 /package/system/procd/files
parente2f8d200f598c67534c6292d732f7927b3609473 (diff)
downloadupstream-b22a20af450b19fb47235e684afcddb301221def.tar.gz
upstream-b22a20af450b19fb47235e684afcddb301221def.tar.bz2
upstream-b22a20af450b19fb47235e684afcddb301221def.zip
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>
Diffstat (limited to 'package/system/procd/files')
-rw-r--r--package/system/procd/files/procd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh
index 290c90eb81..d2c5b424a7 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)