aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hainke <vincent@systemli.org>2021-10-20 10:26:54 +0200
committerNick Hainke <vincent@systemli.org>2021-10-21 11:25:10 +0200
commitc1490175d3e47319235ab47fa8e4184d46698265 (patch)
tree255e9b6bb2f25946a174394329e1d2fda27ca1bd
parent27c315c3bbb2ebe9a2d46d857b188bd9178f5479 (diff)
dawn: respawn dawn in case of crash
Some users report that DAWN sometimes crashes after a while. Mostly this happens after the new update has been rolled out. Since I would not like to go back to the older version, I add as a workaround for now that DAWN automatically respawned. Workaround for: https://github.com/berlin-open-wireless-lab/DAWN/issues/151 Signed-off-by: Nick Hainke <vincent@systemli.org>
-rwxr-xr-xnet/dawn/files/dawn.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/dawn/files/dawn.init b/net/dawn/files/dawn.init
index 4171b3c6b..fb41bacb8 100755
--- a/net/dawn/files/dawn.init
+++ b/net/dawn/files/dawn.init
@@ -52,6 +52,9 @@ start_service()
echo "Starting Service..."
procd_open_instance
procd_set_param command $PROG
+
+ procd_set_param respawn 3600 15 0
+
procd_set_param stdout 0 # here it is possible to remove the debug output...
procd_set_param stderr 1
if [ ${_network_option} -eq 2 ]; then