Browse Source

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>
lilik-openwrt-22.03
Nick Hainke 3 years ago
parent
commit
c1490175d3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      net/dawn/files/dawn.init

+ 3
- 0
net/dawn/files/dawn.init View File

@ -52,6 +52,9 @@ start_service()
echo "Starting Service..." echo "Starting Service..."
procd_open_instance procd_open_instance
procd_set_param command $PROG 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 stdout 0 # here it is possible to remove the debug output...
procd_set_param stderr 1 procd_set_param stderr 1
if [ ${_network_option} -eq 2 ]; then if [ ${_network_option} -eq 2 ]; then


Loading…
Cancel
Save