procd: Allow to configure default respawn retry count
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 4 Mar 2016 08:33:36 +0000 (08:33 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 4 Mar 2016 08:33:36 +0000 (08:33 +0000)
commitfc7c584a5a95a74573ea949051addce9c556a202
tree8cfbdcea0aeb339ce45f19408f746e711ce7dccd
parent1e974de62944617fa9b4e37d7efc992735f8b691
procd: Allow to configure default respawn retry count

Extend /etc/config/system with a parameter to set the
default respawn retry for procd launched services that
have respawn enabled.

config service
         option respawn_retry -1

All services that don't specify specific respawn parameters
will get their defaults added by procd.sh. If respawn_retry
is specified in /etc/config/system the default retry limit
will be set to this value by procd.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48915 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/procd/files/procd.sh