From eb906739047187c322b6ce9efe7c9479bed9a024 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Tue, 7 Nov 2023 14:03:20 -0600 Subject: mdns: T5723: Always reload systemd daemon before applying changes Additionally, templatize system service override and move it to the runtime path. --- data/templates/mdns-repeater/override.conf.j2 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data/templates/mdns-repeater/override.conf.j2 (limited to 'data/templates/mdns-repeater/override.conf.j2') 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 }} -- cgit v1.2.3