Files
Arch-R/packages/sysutils/timezone-data/system.d/tz-data.service
Stefan Saraev 03f0590f90 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
2014-10-06 21:19:02 +03:00

18 lines
383 B
Desktop File

[Unit]
Description=Setup Timezone data
DefaultDependencies=no
Before=systemd-udevd.service
After=var.mount
[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
[Install]
WantedBy=sysinit.target