Make multipath deactivate devices before iscsi shutdown
[multipath-tools/.git] / multipathd / multipathd.service
1 [Unit]
2 Description=Device-Mapper Multipath Device Controller
3 Requires=blk-availability.service
4 Before=iscsi.service iscsid.service lvm2-activation-early.service
5 Before=local-fs-pre.target
6 After=multipathd.socket
7 DefaultDependencies=no
8 Wants=local-fs-pre.target multipathd.socket
9 Conflicts=shutdown.target
10
11 [Service]
12 Type=notify
13 NotifyAccess=main
14 LimitCORE=infinity
15 ExecStartPre=/sbin/modprobe dm-multipath
16 ExecStart=/sbin/multipathd -d -s
17 ExecReload=/sbin/multipathd reconfigure
18
19 [Install]
20 WantedBy=sysinit.target
21 Also=multipathd.socket