summarylogtreecommitdiffstats
path: root/freefall@.service
blob: ab501a9a78c8f3d69df35fba5ccba27105bc7587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# To instantiate the service e.g. with the /dev/sdb disk name,
# use systemctl start freefall@-dev-sdb 
# Default instance is for /dev/sda 
# See systemd.unit manual.

[Unit]
Description=Disk protection for HP/DELL machines.

[Service]
Type=forking
# freefall takes disk device as argument.
ExecStart=/usr/bin/freefall "%I"

[Install]
# The instance name is escaped.
DefaultInstance=-dev-sda
WantedBy=multi-user.target