systemd will now restart multipathd on failure unless it has already been started 3 times in the last 30 seconds. Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> --- multipathd/multipathd.service.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/multipathd/multipathd.service.in b/multipathd/multipathd.service.in index 646001e6..b6a25b31 100644 --- a/multipathd/multipathd.service.in +++ b/multipathd/multipathd.service.in @@ -12,12 +12,15 @@ Conflicts=initrd-cleanup.service ConditionKernelCommandLine=!nompath ConditionKernelCommandLine=!multipath=off ConditionVirtualization=!container +StartLimitIntervalSec=30 +StartLimitBurst=3 [Service] Type=notify NotifyAccess=main ExecStart=@BINDIR@/multipathd -d -s ExecReload=@BINDIR@/multipathd reconfigure +Restart=on-failure TasksMax=infinity LimitRTPRIO=10 CPUWeight=1000 -- 2.46.2