From e777ef720c327234b176ddb1581eb6e738fa5689 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Mon, 17 Jun 2024 15:05:33 -0500 Subject: [PATCH] lvmlockd: allow service options command line options can be set in /etc/sysconfig/lvmlockd, e.g. OPTIONS='-A1 -o2' --- scripts/lvmlockd.service.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/lvmlockd.service.in b/scripts/lvmlockd.service.in index efe489a74..bacff4d7e 100644 --- a/scripts/lvmlockd.service.in +++ b/scripts/lvmlockd.service.in @@ -4,7 +4,8 @@ Documentation=man:lvmlockd(8) [Service] Type=notify -ExecStart=@SBINDIR@/lvmlockd --foreground +EnvironmentFile=-/etc/sysconfig/lvmlockd +ExecStart=@SBINDIR@/lvmlockd --foreground $OPTIONS PIDFile=@LVMLOCKD_PIDFILE@ SendSIGKILL=no