diff options
Diffstat (limited to 'fake-hwclock.service')
-rw-r--r-- | fake-hwclock.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fake-hwclock.service b/fake-hwclock.service new file mode 100644 index 000000000000..a96a823c3562 --- /dev/null +++ b/fake-hwclock.service @@ -0,0 +1,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 |