summaryrefslogtreecommitdiff
path: root/data/templates/mdns-repeater
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-11-07 14:03:20 -0600
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-12-01 05:39:38 +0000
commitccee236ee5f60969e07df5578dd1cb95f8573d82 (patch)
tree23c1cab772d9ca030f23d0b9a0a615b544b6e5a3 /data/templates/mdns-repeater
parent652e235894aeae46765ea9fbbe2208578aaa7a8c (diff)
downloadvyos-1x-ccee236ee5f60969e07df5578dd1cb95f8573d82.tar.gz
vyos-1x-ccee236ee5f60969e07df5578dd1cb95f8573d82.zip
mdns: T5723: Always reload systemd daemon before applying changes
Additionally, templatize system service override and move it to the runtime path. (cherry picked from commit eb906739047187c322b6ce9efe7c9479bed9a024)
Diffstat (limited to 'data/templates/mdns-repeater')
-rw-r--r--data/templates/mdns-repeater/override.conf.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/mdns-repeater/override.conf.j2 b/data/templates/mdns-repeater/override.conf.j2
new file mode 100644
index 000000000..8c8187489
--- /dev/null
+++ b/data/templates/mdns-repeater/override.conf.j2
@@ -0,0 +1,7 @@
+[Unit]
+After=vyos-router.service
+ConditionPathExists={{ config_file }}
+
+[Service]
+ExecStart=
+ExecStart=/usr/sbin/avahi-daemon --syslog --file {{ config_file }}