Lakka-LibreELEC/packages/sysutils/systemd/system.d/systemd-timesyncd-setup.service
Matthias Reichl 750dd4add2 systemd: enable systemd-timesyncd when using kernel ip configuration
connman's NTP client can't be used if it's not managing the network
interface so use systemd's timesyncd as we already build it.

timesyncd is automatically configured to use the NTP servers provided
by kernel ip config, if they are missing the default fallback NTP
servers (currently the ones from Google) are used.

Users can also provide timesyncd configuration files via
/storage/.config/timesyncd.conf.d/ eg to change the (fallback) servers.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-15 18:54:04 +01:00

13 lines
255 B
Desktop File

[Unit]
Description=Setup NTP servers for timesyncd
DefaultDependencies=no
After=systemd-remount-fs.service systemd-sysusers.service
[Service]
Type=oneshot
ExecStart=/usr/sbin/systemd-timesyncd-setup
RemainAfterExit=yes
[Install]
WantedBy=sysinit.target