tz-data: adjust dependency so that it doesn't create /var/run

as this prevents the /var/run -> /run sym link from being created.
This commit is contained in:
MilhouseVH 2017-12-09 18:19:23 +00:00
parent 712987f2ce
commit 4d181e470c

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