mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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:
parent
998770aa3d
commit
a5e669d292
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user