aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files/procd.sh
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-06-20 13:44:10 +0200
committerJo-Philipp Wich <jo@mein.io>2017-06-26 10:02:20 +0200
commit2c5f16ecac58b0ea88afdccc6febe9d39f016a6e (patch)
tree6d468bc7396079605ec736b20352708172b40dc3 /package/system/procd/files/procd.sh
parent124ab1dc0a6235007f60953a796bf29122dfa242 (diff)
downloadupstream-2c5f16ecac58b0ea88afdccc6febe9d39f016a6e.tar.gz
upstream-2c5f16ecac58b0ea88afdccc6febe9d39f016a6e.tar.bz2
upstream-2c5f16ecac58b0ea88afdccc6febe9d39f016a6e.zip
procd: support term_timeout parameter
Expose "term_timeout" parameter in procd.sh to allow init scripts to request a longer termination timeout. This is required to fix FS#859 in a later commit. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/system/procd/files/procd.sh')
-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 9fbf47e602..00d754d16f 100644
--- a/package/system/procd/files/procd.sh
+++ b/package/system/procd/files/procd.sh
@@ -213,7 +213,7 @@ _procd_set_param() {
json_add_string "" "$@"
json_close_array
;;
- nice)
+ nice|term_timeout)
json_add_int "$type" "$1"
;;
reload_signal)