summarylogtreecommitdiffstats
path: root/fake-hwclock.service
blob: a96a823c3562eff652fc29d4326e37847cbcd2df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Restore system time on boot and save it on shutdown
After=sysinit.target

[Service]
Type=oneshot
ExecStart=/usr/lib/systemd/scripts/fake-hwclock.sh load
ExecStop=/usr/lib/systemd/scripts/fake-hwclock.sh save
RemainAfterExit=true

[Install]
WantedBy=sysinit.target