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:
Christian Hewitt 2017-12-11 06:16:00 +04:00 committed by GitHub
commit 0ddf2aa42e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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