support kernels with built-in modules

Don't fail if modprobe fails to load a module, the kernel could have it
statically compiled in.

Signed-off-by: Matthew Thode <mthode@mthode.org>
master
Matthew Thode 2018-01-27 00:42:55 -06:00 committed by Harald Hoyer
parent f48fb6f4ce
commit c88c3215e8
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ ConditionKernelCommandLine=!multipath=off

[Service]
Type=simple
ExecStartPre=/sbin/modprobe dm-multipath
ExecStartPre=-/sbin/modprobe dm-multipath
ExecStart=/sbin/multipathd -s -d
ExecReload=/sbin/multipathd reconfigure
ExecStop=/sbin/multipathd shutdown