procd: add cancel_timeout on rc scripts when a runtime_timeout is specified
authorJurgen Van Ham <juvanham.tc@gmail.com>
Fri, 10 Feb 2017 06:55:23 +0000 (07:55 +0100)
committerJohn Crispin <john@phrozen.org>
Wed, 15 Feb 2017 08:56:40 +0000 (09:56 +0100)
commit5f9124103410c178d816bb5229fba7dd2286a49b
treedddd10a7dc0d10fabe685c47d5cc86fe3c64bb27
parent961dc692aff7457f874bce61f8e766514edcf794
procd: add cancel_timeout on rc scripts when a runtime_timeout is specified

Enable procd to restrict the execution time of a rc scripts during shutdown, even
when a script ignores the SIGTERM signal by insisting after 10s with a SIGKILL.

Signed-off-by: Jurgen Van Ham <juvanham.tc@gmail.com>
rcS.c