summaryrefslogtreecommitdiff
path: root/data/templates/ntp/override.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-14 21:34:40 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-14 21:34:43 +0200
commitb0acc3a58f75f01ff19dbc9544e681cfc9d50c8e (patch)
tree6397ac19ced890b7b5ec9ef17cb410880e66697c /data/templates/ntp/override.conf.tmpl
parentd40e86aeb4e91fa9f8191b3c49830d9ba227c92c (diff)
downloadvyos-1x-b0acc3a58f75f01ff19dbc9544e681cfc9d50c8e.tar.gz
vyos-1x-b0acc3a58f75f01ff19dbc9544e681cfc9d50c8e.zip
ntp: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/ntp/override.conf.tmpl')
-rw-r--r--data/templates/ntp/override.conf.tmpl14
1 files changed, 0 insertions, 14 deletions
diff --git a/data/templates/ntp/override.conf.tmpl b/data/templates/ntp/override.conf.tmpl
deleted file mode 100644
index dbfdc4545..000000000
--- a/data/templates/ntp/override.conf.tmpl
+++ /dev/null
@@ -1,14 +0,0 @@
-{% set vrf_command = 'ip vrf exec ' ~ vrf ~ ' ' if vrf is vyos_defined else '' %}
-[Unit]
-StartLimitIntervalSec=0
-ConditionPathExists={{config_file}}
-After=vyos-router.service
-
-[Service]
-ExecStart=
-ExecStart={{vrf_command}}/usr/sbin/ntpd -g -p {{ config_file | replace('.conf', '.pid') }} -c {{ config_file }} -u ntp:ntp
-PIDFile=
-PIDFile={{config_file | replace('.conf', '.pid') }}
-Restart=always
-RestartSec=10
-