Lakka-LibreELEC/packages/sysutils/tz/system.d/tz-data.service
MilhouseVH 4d181e470c tz-data: adjust dependency so that it doesn't create /var/run
as this prevents the /var/run -> /run sym link from being created.
2017-12-09 18:34:06 +00:00

17 lines
378 B
Desktop File

[Unit]
Description=Setup Timezone data
DefaultDependencies=no
Before=systemd-udevd.service
After=var.mount systemd-tmpfiles-setup.service
[Service]
Type=oneshot
Environment=TIMEZONE=UTC
EnvironmentFile=-/storage/.cache/timezone
ExecStart=/bin/ln -sf /usr/share/zoneinfo/${TIMEZONE} /var/run/localtime
RemainAfterExit=yes
StartLimitInterval=0
[Install]
WantedBy=sysinit.target