Package: fake-hwclock Version: 0.11 Dear Maintainer, can you please add a systemd timer for the regular time save.
--- /dev/null 2017-03-14 22:28:11.909999999 +0100 +++ fake-hwclock-save.timer 2017-03-16 11:52:21.062121382 +0100 @@ -0,0 +1,11 @@ +[Unit] +Description=fake-hwclock: save time to disk +Documentation=man:fake-hwclock(8) +After=fake-hwclock.service + +[Timer] +OnBootSec=15m +OnUnitActiveSec=1h + +[Install] +WantedBy=fake-hwclock.service --- /dev/null 2017-03-14 22:28:11.909999999 +0100 +++ fake-hwclock-save.service 2017-03-16 11:51:40.632378088 +0100 @@ -0,0 +1,9 @@ +[Unit] +Description=fake-hwclock: save time to disk +Documentation=man:fake-hwclock(8) +After=fake-hwclock.service +Requires=fake-hwclock.service + +[Service] +Type=oneshot +ExecStart=/sbin/fake-hwclock save --- fake-hwclock.old 2017-03-17 12:36:31.549158451 +0100 +++ fake-hwclock 2017-03-15 19:39:40.915989015 +0100 @@ -3,6 +3,11 @@ # Simple cron script - save the current clock periodically in case of # a power failure or other crash +# skip in favour of systemd timer +if [ -d /run/systemd/system ]; then + exit 0 +fi + if (command -v fake-hwclock >/dev/null 2>&1) ; then fake-hwclock save fi Also the control's suggests filed can be altered to: Suggests: cron | cron-daemon | systemd, ntp Best regards, Christian Göttsche