Skip to content

Commit

Permalink
mdns-repeater: add respawn to init
Browse files Browse the repository at this point in the history
Sometimes mdns-repeater quits or crashes, leaving service stopped. This commit should fix that by enabling respawn in procd.

Signed-off-by: Tina DiPierro <[email protected]>
  • Loading branch information
adipierro authored and 1715173329 committed Sep 16, 2024
1 parent 5542a10 commit c703510
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion net/mdns-repeater/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions net/mdns-repeater/files/mdns-repeater.init
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c703510

Please sign in to comment.