procd.sh: use parameterized respawn values
authorClaudiu Brasovean <cbrasho@gmail.com>
Tue, 28 Feb 2017 09:51:01 +0000 (11:51 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Dec 2017 13:39:02 +0000 (14:39 +0100)
commit56b9f0ffc0cbceabe3636c19baaf6c27f34ebe1e
tree536815054e2b71441211079d478a1ef5a0328512
parent28c9731984a01c296eb8de210d1e32b44a527b36
procd.sh: use parameterized respawn values

continue work started here: http://patchwork.ozlabs.org/patch/520859

Extend /etc/config/system with parameters to set the default respawn treshold and respawn timeout
for procd launched services that have respawn enabled.
This results in cleaner init scripts, while making sure services have respawn parameters set.

Signed-off-by: Claudiu Brasovean <cbrasho@gmail.com>
(cherry picked from commit c70c6ac070223114ee8c9f33e5e416edb005ca83)
package/system/procd/files/procd.sh