1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=Save time on shutdown for next boot Before=ntpdate.service ntpd.service [Service] Type=oneshot RemainAfterExit=true ExecStart=#BINDIR#/save-time start ExecStop=#BINDIR#/save-time stop [Install] WantedBy=multi-user.target