From c92e3645b5b11f9c4fc521a659aeda4615754785065446432fb2c29f7fd93462 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Mon, 1 Jul 2024 20:39:35 +0000 Subject: [PATCH] Remove redundant 'ExecStart' from wdmd.service boo#1227208 OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=76 --- sanlock.spec | 2 +- suse-systemd.patch | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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