olsrd: improve respawn settings
authorTobias Schwarz <info@tobias-schwarz.com>
Tue, 13 Jul 2021 18:08:14 +0000 (20:08 +0200)
committerPolynomdivision <vincent@systemli.org>
Sun, 1 Aug 2021 09:28:27 +0000 (11:28 +0200)
commit0eb67d72d051efb9b869365191c6fb66830c02af
tree60beb8e14a979bf51804ab795baa8cc386638179
parent0e2419290399c6940765590ed2e8c7c3a16efd26
olsrd: improve respawn settings

This increases the amount of seconds to wait before a service restart
attempt from 5 to 15 seconds and allows unlimited retries. Olsrd
sometimes crashes together with a network interface and 5 seconds can
be too short to bring back up a crashed network interface, which is
required for olsrd to restart. It also adds the ability to configure
the wait time (respawn_timeout) and the number of retries
(respawn_retry).

Signed-off-by: Tobias Schwarz <info@tobias-schwarz.com>
(cherry picked from commit bc58bd99e81b72f8061473eec5d3454b3504b163)
olsrd/files/olsrd.config
olsrd/files/olsrd4.init
olsrd/files/olsrd6.config
olsrd/files/olsrd6.init