mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
tzdata: run tz-data.service early
... earlier as possible. and tmpfiles.service is a bitch! TODO: carefuly (re)order all OE specific services for 5.0
This commit is contained in:
parent
1be502fc6b
commit
03f0590f90
@ -1,14 +1,17 @@
|
||||
[Unit]
|
||||
Description=Setup Timezone data
|
||||
Before=xbmc.service
|
||||
DefaultDependencies=no
|
||||
Before=systemd-udevd.service
|
||||
After=var.mount
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Environment=TIMEZONE=UTC
|
||||
EnvironmentFile=-/storage/.cache/timezone
|
||||
ExecStartPre=/bin/mkdir -p /var/run
|
||||
ExecStart=/bin/ln -sf /usr/share/zoneinfo/${TIMEZONE} /var/run/localtime
|
||||
RemainAfterExit=yes
|
||||
StartLimitInterval=0
|
||||
|
||||
[Install]
|
||||
WantedBy=basic.target
|
||||
WantedBy=sysinit.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user