1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/scripts/lvmlockd.service.in
David Teigland e777ef720c lvmlockd: allow service options
command line options can be set in /etc/sysconfig/lvmlockd, e.g.
OPTIONS='-A1 -o2'
2024-06-27 13:29:03 -05:00

15 lines
261 B
SYSTEMD

[Unit]
Description=LVM lock daemon
Documentation=man:lvmlockd(8)
[Service]
Type=notify
EnvironmentFile=-/etc/sysconfig/lvmlockd
ExecStart=@SBINDIR@/lvmlockd --foreground $OPTIONS
PIDFile=@LVMLOCKD_PIDFILE@
SendSIGKILL=no
[Install]
WantedBy=multi-user.target