multipath/multipathd.service: add more Conditions
Do not start multipathd on rd.multipath=0 rd_NO_MULTIPATH and if there is no multipath.conf.master
parent
78a78e4239
commit
2b2033e561
|
|
@ -3,6 +3,10 @@ Description=Device-Mapper Multipath Device Controller
|
|||
Before=iscsi.service iscsid.service lvm2-activation-early.service
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
ConditionKernelCommandLine=!nompath
|
||||
ConditionKernelCommandLine=!rd.multipath=0
|
||||
ConditionKernelCommandLine=!rd_NO_MULTIPATH
|
||||
ConditionPathExists=/etc/multipath.conf
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
|
|
|||
Loading…
Reference in New Issue