[Unit]
Description=Device-Mapper Multipath Device Controller
Before=lvm2-activation-early.service
Before=local-fs-pre.target blk-availability.service shutdown.target
Wants=systemd-udevd-kernel.socket multipathd-queueing.service modprobe@dm_multipath.service
After=systemd-udevd-kernel.socket modprobe@dm_multipath.service
After=multipathd.socket systemd-remount-fs.service
Before=initrd-cleanup.service
DefaultDependencies=no
Conflicts=shutdown.target
Conflicts=initrd-cleanup.service
ConditionKernelCommandLine=!nompath
ConditionKernelCommandLine=!multipath=off
ConditionVirtualization=!container
StartLimitIntervalSec=30
StartLimitBurst=3

[Service]
Type=notify
NotifyAccess=main
ExecStart=/usr/sbin/multipathd -d -s
ExecReload=/usr/sbin/multipathd reconfigure
Restart=on-failure
TasksMax=infinity
LimitRTPRIO=10
CPUWeight=1000

[Install]
WantedBy=sysinit.target
