summaryrefslogtreecommitdiffstats
path: root/rtctimesync.service
diff options
context:
space:
mode:
authorTobias Wiese <tobias@tobiaswiese.com>2025-12-29 17:10:07 +0100
committerTobias Wiese <tobias@tobiaswiese.com>2025-12-29 17:13:30 +0100
commit7e76e8b41481929c9563bbf082a8daee7f2184bd (patch)
treef9e2ffd5dc5f1285db3004cafb3240f0cc6090ed /rtctimesync.service
Initial commitHEADmaster
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