From 0d35a866ba12e66e504e1f575a04429c5d8cb9be Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 13 Jan 2023 22:07:34 +0100 Subject: ntp: T3008: migrate from ntpd to chrony * Move CLI from "system ntp" -> "service ntp" * Drop NTP server option preempt as not supported by chrony --- data/templates/ntp/override.conf.j2 | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 data/templates/ntp/override.conf.j2 (limited to 'data/templates/ntp/override.conf.j2') diff --git a/data/templates/ntp/override.conf.j2 b/data/templates/ntp/override.conf.j2 deleted file mode 100644 index 6fed9d7d2..000000000 --- a/data/templates/ntp/override.conf.j2 +++ /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 - -- cgit v1.2.3