diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-11-07 14:03:20 -0600 |
---|---|---|
committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-11-07 15:51:13 -0600 |
commit | eb906739047187c322b6ce9efe7c9479bed9a024 (patch) | |
tree | 329e9b3e78211e8252fa878cb105480c69f42332 /data/templates | |
parent | 45c6b0ccae5c432088ecea627593891a6f9a3943 (diff) | |
download | vyos-1x-eb906739047187c322b6ce9efe7c9479bed9a024.tar.gz vyos-1x-eb906739047187c322b6ce9efe7c9479bed9a024.zip |
mdns: T5723: Always reload systemd daemon before applying changes
Additionally, templatize system service override and move it to the
runtime path.
Diffstat (limited to 'data/templates')
-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 }} |