summaryrefslogtreecommitdiff
path: root/scripts/lvmlockd.service.in
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2018-09-13 11:02:53 -0500
committerDavid Teigland <teigland@redhat.com>2018-09-13 11:09:25 -0500
commit19a59cc53c723f3614d68edcdd9dfabe15c1299b (patch)
treec9739064eb07b3171eeb2e1887eca02d1bd2a22a /scripts/lvmlockd.service.in
parente9b6cdd6e65196d6ada6ce54e8d256c3dc57329b (diff)
downloadlvm2-19a59cc53c723f3614d68edcdd9dfabe15c1299b.tar.gz
More cleanup needed for dropped scripts
and drop the lvm2 prefix from lvmlockd service
Diffstat (limited to 'scripts/lvmlockd.service.in')
-rw-r--r--scripts/lvmlockd.service.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/lvmlockd.service.in b/scripts/lvmlockd.service.in
new file mode 100644
index 000000000..efe489a74
--- /dev/null
+++ b/scripts/lvmlockd.service.in
@@ -0,0 +1,13 @@
+[Unit]
+Description=LVM lock daemon
+Documentation=man:lvmlockd(8)
+
+[Service]
+Type=notify
+ExecStart=@SBINDIR@/lvmlockd --foreground
+PIDFile=@LVMLOCKD_PIDFILE@
+SendSIGKILL=no
+
+[Install]
+WantedBy=multi-user.target
+