meta-systemd: ntp: update for server config improvements

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>
This commit is contained in:
Paul Eggleton
2012-11-22 16:54:07 +00:00
committed by Koen Kooi
parent 1638044de1
commit 12793cc3f8
@@ -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]