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 Martin Jansa
parent 998770aa3d
commit a5e669d292

View File

@ -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]