mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-25 19:56:43 +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]
|
[Unit]
|
||||||
Description=Setup Timezone data
|
Description=Setup Timezone data
|
||||||
Before=xbmc.service
|
DefaultDependencies=no
|
||||||
|
Before=systemd-udevd.service
|
||||||
|
After=var.mount
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
Environment=TIMEZONE=UTC
|
Environment=TIMEZONE=UTC
|
||||||
EnvironmentFile=-/storage/.cache/timezone
|
EnvironmentFile=-/storage/.cache/timezone
|
||||||
|
ExecStartPre=/bin/mkdir -p /var/run
|
||||||
ExecStart=/bin/ln -sf /usr/share/zoneinfo/${TIMEZONE} /var/run/localtime
|
ExecStart=/bin/ln -sf /usr/share/zoneinfo/${TIMEZONE} /var/run/localtime
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
StartLimitInterval=0
|
StartLimitInterval=0
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=basic.target
|
WantedBy=sysinit.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user