mirror of
https://github.com/openwrt/packages.git
synced 2026-01-08 18:40:21 +04:00
mdns-repeater: add respawn to init
Sometimes mdns-repeater quits or crashes, leaving service stopped. This commit should fix that by enabling respawn in procd. Signed-off-by: Tina DiPierro <tina@dipier.ro>
This commit is contained in:
committed by
Tianling Shen
parent
5542a1011c
commit
c703510a3c
@@ -11,6 +11,7 @@ start_service() {
|
||||
local interfaces
|
||||
config_get interfaces main interface
|
||||
procd_open_instance
|
||||
procd_set_param respawn
|
||||
procd_set_param command $PROG -f $interfaces
|
||||
# -f generates a lot of debug output
|
||||
# no forwarding of stderr to logs
|
||||
|
||||
Reference in New Issue
Block a user