summaryrefslogtreecommitdiff
path: root/data/templates/ntp/override.conf.tmpl
blob: e0b9476869095135b73d6ab4a8fa6bad1e862ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
{% set vrf_command = '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=always
RestartSec=10