summaryrefslogtreecommitdiff
path: root/data/templates/mdns-repeater/override.conf.j2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-01 08:16:39 +0100
committerGitHub <noreply@github.com>2023-12-01 08:16:39 +0100
commit01fec00f0d662b26262678823bfe4d3cc0d5b574 (patch)
tree23c1cab772d9ca030f23d0b9a0a615b544b6e5a3 /data/templates/mdns-repeater/override.conf.j2
parent652e235894aeae46765ea9fbbe2208578aaa7a8c (diff)
parentccee236ee5f60969e07df5578dd1cb95f8573d82 (diff)
downloadvyos-1x-01fec00f0d662b26262678823bfe4d3cc0d5b574.tar.gz
vyos-1x-01fec00f0d662b26262678823bfe4d3cc0d5b574.zip
Merge pull request #2556 from vyos/mergify/bp/sagitta/pr-2459
mdns: T5723: Always reload systemd daemon before applying changes (backport #2459)
Diffstat (limited to 'data/templates/mdns-repeater/override.conf.j2')
-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 }}