summaryrefslogtreecommitdiff
path: root/src/etc/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-10-20 21:34:45 +0200
committerChristian Poessinger <christian@poessinger.com>2021-10-20 21:34:45 +0200
commit1d89e5196611f06bc1d0f925fc2ac1cb4a5536ec (patch)
treeadc3efca73a769c5861a317b838e99e6abe769c4 /src/etc/systemd
parent69aa8ca0aa93575c3758c9d6a86c37159848116c (diff)
downloadvyos-1x-1d89e5196611f06bc1d0f925fc2ac1cb4a5536ec.tar.gz
vyos-1x-1d89e5196611f06bc1d0f925fc2ac1cb4a5536ec.zip
mdns: T3917: move avahi configuration file to /run
Diffstat (limited to 'src/etc/systemd')
-rw-r--r--src/etc/systemd/system/avahi-daemon.service.d/override.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/etc/systemd/system/avahi-daemon.service.d/override.conf b/src/etc/systemd/system/avahi-daemon.service.d/override.conf
new file mode 100644
index 000000000..a9d2085f7
--- /dev/null
+++ b/src/etc/systemd/system/avahi-daemon.service.d/override.conf
@@ -0,0 +1,8 @@
+[Unit]
+After=
+After=vyos-router.service
+ConditionPathExists=/run/avahi-daemon/avahi-daemon.conf
+
+[Service]
+ExecStart=
+ExecStart=/usr/sbin/avahi-daemon --syslog --file /run/avahi-daemon/avahi-daemon.conf \ No newline at end of file