summaryrefslogtreecommitdiff
path: root/data/templates/ntp/override.conf.tmpl
blob: 466638e5ac707405e3abd55fb708e5485bc8b554 (plain)
1
2
3
4
5
6
7
8
9
10
11
{% set vrf_command = '/sbin/ip vrf exec ' + vrf + ' ' if vrf is defined else '' %}
[Unit]
StartLimitIntervalSec=0
After=vyos-router.service

[Service]
ExecStart=
ExecStart={{vrf_command}}/usr/lib/ntp/ntp-systemd-wrapper
Restart=on-failure
RestartSec=10