From 5b1f06336b9cc9f27788fbcd426f2fd08431e4f8 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 13 Jun 2020 23:18:45 +0200 Subject: ntp: T2321: add VRF support --- data/templates/ntp/override.conf.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 data/templates/ntp/override.conf.tmpl (limited to 'data/templates/ntp') diff --git a/data/templates/ntp/override.conf.tmpl b/data/templates/ntp/override.conf.tmpl new file mode 100644 index 000000000..69a73b128 --- /dev/null +++ b/data/templates/ntp/override.conf.tmpl @@ -0,0 +1,8 @@ +[Service] +ExecStart= +{% if vrf %} +ExecStart=/sbin/ip vrf exec {{ vrf }} /usr/lib/ntp/ntp-systemd-wrapper +{% else %} +ExecStart=/usr/lib/ntp/ntp-systemd-wrapper +{% endif %} + -- cgit v1.2.3