procd.sh: use parameterized respawn values
authorClaudiu Brasovean <cbrasho@gmail.com>
Tue, 28 Feb 2017 09:51:01 +0000 (11:51 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 7 Mar 2017 10:40:36 +0000 (11:40 +0100)
commitc70c6ac070223114ee8c9f33e5e416edb005ca83
treeb32f900dd96aeffde185f066cc6ec9000e7a8207
parent0504cd22aa43b3af9f0a6a63f3904e06e6959bc4
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>
package/system/procd/files/procd.sh