procd: Allow to configure default respawn retry count
authorJohn Crispin <john@openwrt.org>
Fri, 4 Mar 2016 08:33:36 +0000 (08:33 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 4 Mar 2016 08:33:36 +0000 (08:33 +0000)
commit6239b4f7078994ecd688fd5b8451263770e46720
tree8cfbdcea0aeb339ce45f19408f746e711ce7dccd
parent30e3bb4d1a774888676dc6ab4467825ece4a6afc
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>
SVN-Revision: 48915
package/system/procd/files/procd.sh