mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #2308 from MilhouseVH/le90_systemd_tempfiles_fix
systemd: fix systemd-tmpfiles-setup
This commit is contained in:
commit
b05d736f62
@ -16,7 +16,6 @@
|
|||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
d /var/lock 0755 root root - -
|
|
||||||
d /var/media 0755 root root - -
|
d /var/media 0755 root root - -
|
||||||
|
|
||||||
f /var/run/utmp 1777 root root - -
|
f /var/run/utmp 1777 root root - -
|
||||||
|
@ -2,13 +2,12 @@
|
|||||||
Description=Setup Timezone data
|
Description=Setup Timezone data
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Before=systemd-udevd.service
|
Before=systemd-udevd.service
|
||||||
After=var.mount
|
After=var.mount systemd-tmpfiles-setup.service
|
||||||
|
|
||||||
[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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user