diff --git a/sanlock.spec b/sanlock.spec index 2851dec..c7778f6 100644 --- a/sanlock.spec +++ b/sanlock.spec @@ -1,5 +1,5 @@ # -# spec file for package sanlock +# spec file # # Copyright (c) 2024 SUSE LLC # diff --git a/suse-systemd.patch b/suse-systemd.patch index 7a6c8a9..8e08666 100644 --- a/suse-systemd.patch +++ b/suse-systemd.patch @@ -19,10 +19,11 @@ Index: sanlock-3.9.3/init.d/wdmd.service =================================================================== --- sanlock-3.9.3.orig/init.d/wdmd.service +++ sanlock-3.9.3/init.d/wdmd.service -@@ -6,7 +6,10 @@ After=syslog.target +@@ -5,8 +5,10 @@ After=syslog.target + [Service] Type=forking ExecStartPre=/lib/systemd/systemd-wdmd watchdog-check - ExecStart=/usr/sbin/wdmd +-ExecStart=/usr/sbin/wdmd -SendSIGKILL=no +EnvironmentFile=-/etc/sysconfig/wdmd +ExecStart=/usr/sbin/wdmd $WDMDOPTS