1919b380c8e4afe5d4f9ffb336f6e32a86e0114e
[platform/upstream/multipath-tools.git] / multipathd / multipathd.service
1 [Unit]
2 Description=Device-Mapper Multipath Device Controller
3 Before=iscsi.service iscsid.service lvm2-activation-early.service
4 Before=local-fs-pre.target blk-availability.service shutdown.target
5 Wants=systemd-udevd-kernel.socket
6 After=systemd-udevd-kernel.socket
7 After=multipathd.socket systemd-remount-fs.service
8 DefaultDependencies=no
9 Conflicts=shutdown.target
10 ConditionKernelCommandLine=!nompath
11 ConditionKernelCommandLine=!multipath=off
12 ConditionVirtualization=!container
13
14 [Service]
15 Type=notify
16 NotifyAccess=main
17 LimitCORE=infinity
18 ExecStartPre=-/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath
19 ExecStart=/sbin/multipathd -d -s
20 ExecReload=/sbin/multipathd reconfigure
21 TasksMax=infinity
22
23 [Install]
24 WantedBy=sysinit.target
25 Also=multipathd.socket