Remove redundant 'ExecStart' from wdmd.service

boo#1227208

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=76
This commit is contained in:
James Fehlig 2024-07-01 20:39:35 +00:00 committed by Git OBS Bridge
parent f32eec2dde
commit c92e3645b5
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# #
# spec file for package sanlock # spec file
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #

View File

@ -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.orig/init.d/wdmd.service
+++ sanlock-3.9.3/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 Type=forking
ExecStartPre=/lib/systemd/systemd-wdmd watchdog-check ExecStartPre=/lib/systemd/systemd-wdmd watchdog-check
ExecStart=/usr/sbin/wdmd -ExecStart=/usr/sbin/wdmd
-SendSIGKILL=no -SendSIGKILL=no
+EnvironmentFile=-/etc/sysconfig/wdmd +EnvironmentFile=-/etc/sysconfig/wdmd
+ExecStart=/usr/sbin/wdmd $WDMDOPTS +ExecStart=/usr/sbin/wdmd $WDMDOPTS