diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-11-07 14:03:20 -0600 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-12-01 05:39:38 +0000 |
commit | ccee236ee5f60969e07df5578dd1cb95f8573d82 (patch) | |
tree | 23c1cab772d9ca030f23d0b9a0a615b544b6e5a3 /data/templates/mdns-repeater | |
parent | 652e235894aeae46765ea9fbbe2208578aaa7a8c (diff) | |
download | vyos-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.j2 | 7 |
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 }} |