fix systemd support
[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
6
7 [Service]
8 EnvironmentFile=-/etc/default/fake-hwclock
9 ExecStart=/sbin/fake-hwclock load $FORCE
10 ExecStop=/sbin/fake-hwclock save
11 Type=oneshot
12 RemainAfterExit=yes
13
14 [Install]
15 WantedBy=sysinit.target