mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user