Fix path lookup stuff once more
[nbd.git] / systemd / nbd@.service.tmpl
blobfef05b6d78abe0451cba14d1f8d84180aecf2c83
1 [Unit]
2 Description=NBD client connection for %i
3 Documentation=man:nbd-client
4 PartOf=nbd.service
5 Before=dev-%i.device
6 Before=remote-fs-pre.target
7 After=network-online.target
8 Conflicts=shutdown.target
9 DefaultDependencies=no
10 [Service]
11 Type=forking
12 ExecStart=@sbindir@/nbd-client %i
13 [Install]
14 RequiredBy=dev-%i.device
15 RequiredBy=dev-%ip1.device
16 RequiredBy=dev-%ip2.device
17 RequiredBy=dev-%ip3.device
18 RequiredBy=dev-%ip4.device
19 RequiredBy=dev-%ip5.device
20 RequiredBy=dev-%ip6.device
21 RequiredBy=dev-%ip7.device
22 RequiredBy=dev-%ip8.device
23 RequiredBy=dev-%ip9.device
24 RequiredBy=dev-%ip10.device
25 RequiredBy=dev-%ip11.device
26 RequiredBy=dev-%ip12.device
27 RequiredBy=dev-%ip13.device
28 RequiredBy=dev-%ip14.device
29 RequiredBy=dev-%ip15.device