multipathd: issue systemd READY after initial configuration
[multipath-tools/.git] / multipathd / multipathd.service
1 [Unit]
2 Description=Device-Mapper Multipath Device Controller
3 Wants=systemd-udev-trigger.service systemd-udev-settle.service
4 Before=iscsi.service iscsid.service lvm2-lvmetad.service lvm2-activation-early.service
5 Before=local-fs-pre.target blk-availability.service
6 After=multipathd.socket systemd-udev-trigger.service systemd-udev-settle.service
7 DefaultDependencies=no
8 Conflicts=shutdown.target
9 ConditionKernelCommandLine=!nompath
10 ConditionKernelCommandLine=!multipath=off
11
12 [Service]
13 Type=notify
14 NotifyAccess=main
15 LimitCORE=infinity
16 ExecStartPre=-/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath
17 ExecStart=/sbin/multipathd -d -s
18 ExecReload=/sbin/multipathd reconfigure
19
20 [Install]
21 WantedBy=sysinit.target
22 Also=multipathd.socket