summarylogtreecommitdiffstats
path: root/fake-hwclock-save.service
diff options
context:
space:
mode:
authorMoritz Kaspar Rudert (mortzu)2020-06-01 15:39:20 +0200
committerMoritz Kaspar Rudert (mortzu)2020-06-01 15:40:43 +0200
commit16aa73a92645ba816f8abe1fe2114fcc4bc5c38a (patch)
tree6e792f6a865705aa6d591150910c8e56a573ca68 /fake-hwclock-save.service
downloadaur-fake-hwclock.tar.gz
Initial commit
Diffstat (limited to 'fake-hwclock-save.service')
-rw-r--r--fake-hwclock-save.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/fake-hwclock-save.service b/fake-hwclock-save.service
new file mode 100644
index 000000000000..082dc8cafe45
--- /dev/null
+++ b/fake-hwclock-save.service
@@ -0,0 +1,9 @@
+[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