diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-13 23:18:45 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-13 23:18:45 +0200 |
commit | 5b1f06336b9cc9f27788fbcd426f2fd08431e4f8 (patch) | |
tree | e221674c466505c104284782eb3ed55510c77fe3 /data/templates | |
parent | 84abe1f9d22418d858571992cb4fbe2bb3aa34a3 (diff) | |
download | vyos-1x-5b1f06336b9cc9f27788fbcd426f2fd08431e4f8.tar.gz vyos-1x-5b1f06336b9cc9f27788fbcd426f2fd08431e4f8.zip |
ntp: T2321: add VRF support
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/ntp/override.conf.tmpl | 8 |
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 %} + |