PKGBUILDs/alarm/fake-hwclock/fake-hwclock-save.service
Peter Wu edaec43cea alarm/fake-hwclock: use systemd timer unit, to 0.3
* PKGBUILD: modified to install directories with correct permissions (in
  case of a restrictive umask).
* PKGBUILD: change arch to any as this is arch-indep.
* fake-hwclock.sh: add 'load' command that sets the system time only if
  the current time is older; make 'set' an deprecated alias of it.
* Add fake-hwclock-save timer and service that saves the time every 15
  minutes.
* install: suggest to enable timer unit instead of cron.
2014-05-25 13:21:30 +02:00

10 lines
215 B
Desktop File

[Unit]
Description=Periodically saves system time to file
After=fake-hwclock.service
Requires=fake-hwclock.service
[Service]
Type=oneshot
ExecStart=/usr/lib/systemd/scripts/fake-hwclock.sh save
StandardOutput=null