Message ID | 20241031183301.391416-5-bmarzins@redhat.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | Benjamin Marzinski |
Headers | show |
Series | multipath fixes to tableless device handling | expand |
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
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@redhat.com> --- multipathd/multipathd.service.in | 3 +++ 1 file changed, 3 insertions(+)