ntpd-systemd: ntpd is started with -g parameter
PATCH 1/1 ntpd-systemd: ntpd is started with -g parameter
needed for correct functionality in systems without battery backed RTC
Signed-off-by Radek Dostal <[email protected]>
--- meta-oe/recipes-support/ntp/files/ntpd.service | 2 +- meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/ntp/files/ntpd.service +1 -1
@@ -5,7 +5,7 @@ After=network.target [Service] Type=forking PIDFile=/run/ntpd.pid -ExecStart=/usr/bin/ntpd -p /run/ntpd.pid +ExecStart=/usr/bin/ntpd -g -p /run/ntpd.pid [Install] WantedBy=multi-user.target
meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb +1 -1
@@ -1,6 +1,6 @@ require ntp.inc -PR = "r5" +PR = "r6" inherit systemd
Signature · 1 line
1.7.5.4
Please ignore this patch, now I understand how ntp works togehter with ntpdate.
Thanks,
Radek
Quoted 36 lines · Radek Dostal
needed for correct functionality in systems without battery backed RTC
Signed-off-by Radek Dostal <[email protected]>---
meta-oe/recipes-support/ntp/files/ntpd.service | 2 +- meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb | 2 +-2 files changed, 2 insertions(+), 2 deletions(-)meta-oe/recipes-support/ntp/files/ntpd.service +0
-0@@ -5,7 +5,7 @@ After=network.target[Service]
Type=forking
PIDFile=/run/ntpd.pidmeta-oe/recipes-support/ntp/files/ntpd.service +1
-1-ExecStart=/usr/bin/ntpd -p /run/ntpd.pid +ExecStart=/usr/bin/ntpd -g -p /run/ntpd.pid[Install]
WantedBy=multi-user.targetmeta-oe/recipes-support/ntp/ntp_4.2.6p3.bb +0
-0@@ -1,6 +1,6 @@require ntp.inc
meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb +1
-1-PR = "r5" +PR = "r6"inherit systemd
--
1.7.5.4