Files
Arch-R/packages/sysutils/timezone-data/system.d/tz-data.service
Stephan Raue c1386eb0cc timezone-data: remove tzdata-setup script
now, on tz change, xbmc saves the timezone directly
into /storage/.cache/timezone in format: TIMEZONE=xx/yy

defaults to UTC if not (yet) set (first boot)
2014-08-24 02:32:34 +02:00

15 lines
297 B
Desktop File

[Unit]
Description=Setup Timezone data
Before=xbmc.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=xbmc.service