Patchwork [5/5] meta-systemd: ntp: update for server config improvements

login
register
mail settings
Submitter Martin Jansa
Date Dec. 4, 2012, 11:59 a.m.
Message ID <3628afcc5eb78935b7ed8915badc1a0f2b7e9c1f.1354622319.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/40251/
State Accepted, archived
Headers show

Comments

Martin Jansa - Dec. 4, 2012, 11:59 a.m.
From: Paul Eggleton <paul.eggleton@linux.intel.com>

This makes the service use the ntpdate-sync command which reads the
servers set in /etc/default/ntpdate; if nothing is set then no error is
produced on startup.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service b/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
index b2bc632..10cbd70 100644
--- a/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
+++ b/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
@@ -4,7 +4,7 @@  Before=ntpd.service
 
 [Service]
 Type=oneshot
-ExecStart=/usr/bin/ntpd -q -g -x
+ExecStart=/usr/bin/ntpdate-sync silent
 RemainAfterExit=yes
 
 [Install]