From c703510a3cf836c48a8bd6e008ef8a62ff818c49 Mon Sep 17 00:00:00 2001 From: Tina DiPierro Date: Mon, 16 Sep 2024 08:32:55 +0400 Subject: [PATCH] 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 --- net/mdns-repeater/Makefile | 2 +- net/mdns-repeater/files/mdns-repeater.init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/mdns-repeater/Makefile b/net/mdns-repeater/Makefile index 6f9c2055e3..4546bedd1d 100644 --- a/net/mdns-repeater/Makefile +++ b/net/mdns-repeater/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mdns-repeater -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=https://github.com/kennylevinsen/mdns-repeater.git PKG_SOURCE_PROTO=git diff --git a/net/mdns-repeater/files/mdns-repeater.init b/net/mdns-repeater/files/mdns-repeater.init index 1814d25ab3..1726ee5120 100755 --- a/net/mdns-repeater/files/mdns-repeater.init +++ b/net/mdns-repeater/files/mdns-repeater.init @@ -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 -- 2.30.2