Tweak the systemd service file to add Before=shutdown.target
[fake-hwclock.git] / debian / fake-hwclock.service
1 [Unit]
2 Description=Restore / save the current clock
3 Documentation=man:fake-hwclock(8)
4 DefaultDependencies=no
5 Before=sysinit.target shutdown.target
6 Conflicts=shutdown.target
7
8 [Service]
9 EnvironmentFile=-/etc/default/fake-hwclock
10 ExecStart=/sbin/fake-hwclock load $FORCE
11 ExecStop=/sbin/fake-hwclock save
12 Type=oneshot
13 RemainAfterExit=yes
14
15 [Install]
16 WantedBy=sysinit.target