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 Avgustina DiPierro committed Sep 16, 2024
1 parent 5542a10 commit 3e38317
Showing 1 changed file with 1 addition and 0 deletions.
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 3e38317

Please sign in to comment.