[meta-systemd,3/3] meta-systemd: ntp: update for server config improvements

Submitted by Paul Eggleton on Nov. 22, 2012, 4:54 p.m.

Details

Message ID 0e751bcadb280dcb479584a60a02f71a88f02d21.1353603007.git.paul.eggleton@linux.intel.com
State Accepted
Commit 12793cc3f8d0a5c115cbeeb663e6f6b802820d45
Headers show

Commit Message

Paul Eggleton Nov. 22, 2012, 4:54 p.m.
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>
---
 .../recipes-support/ntp/ntp/ntpdate.service        |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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]