summaryrefslogtreecommitdiff
path: root/data/templates/ntp/override.conf.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/ntp/override.conf.tmpl')
-rw-r--r--data/templates/ntp/override.conf.tmpl8
1 files changed, 8 insertions, 0 deletions
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 %}
+