summaryrefslogtreecommitdiff
path: root/units/hwclock-save.service
blob: dedee767a2f5c2b5a2a22489e1ce2c2a3fc72075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.

[Unit]
Description=Update RTC With System Clock
DefaultDependencies=no
After=hwclock-load.service
Before=shutdown.target
Conflicts=hwclock-load.service

[Service]
Type=oneshot
ExecStart=/sbin/hwclock --systohc