summaryrefslogtreecommitdiff
path: root/save-time.service.in
blob: c01137fb6dc254ecc16ae4b768d571dd034e50f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Save time on shutdown for next boot
Before=ntpdate.service ntpd.service

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=#BINDIR#/save-time start
ExecStop=#BINDIR#/save-time stop

[Install]
WantedBy=multi-user.target