15 lines
295 B
Desktop File
15 lines
295 B
Desktop File
[Unit]
|
|
Description=Syncs system time from the Hardware Clock
|
|
DefaultDependencies=no
|
|
Before=basic.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStartPre=/sbin/modprobe -q rtc
|
|
ExecStart=/sbin/hwclock --hctosys --utc
|
|
ExecStop=/sbin/hwclock --systohc --utc
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|