summaryrefslogtreecommitdiffstats
path: root/rtctimesync.service
diff options
context:
space:
mode:
Diffstat (limited to 'rtctimesync.service')
-rw-r--r--rtctimesync.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/rtctimesync.service b/rtctimesync.service
new file mode 100644
index 0000000..c9d153d
--- /dev/null
+++ b/rtctimesync.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Synchronize system time from real time clock
+ConditionVirtualization=yes
+Documentation=man:hwclock(1)
+
+[Service]
+ExecStart=/usr/sbin/hwclock --hctosys