mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #2312 from MilhouseVH/le82_systemd_tempfiles_fix
tz-data: adjust dependency so that it doesn't create /var/run [backport]
This commit is contained in:
commit
0ddf2aa42e
@ -2,13 +2,12 @@
|
||||
Description=Setup Timezone data
|
||||
DefaultDependencies=no
|
||||
Before=systemd-udevd.service
|
||||
After=var.mount
|
||||
After=var.mount systemd-tmpfiles-setup.service
|
||||
|
||||
[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
|
||||
|
Loading…
x
Reference in New Issue
Block a user