summaryrefslogtreecommitdiff
path: root/scripts/lvm2-lvmlockd.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lvm2-lvmlockd.service.in')
-rw-r--r--scripts/lvm2-lvmlockd.service.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/lvm2-lvmlockd.service.in b/scripts/lvm2-lvmlockd.service.in
new file mode 100644
index 000000000..17c7dbf91
--- /dev/null
+++ b/scripts/lvm2-lvmlockd.service.in
@@ -0,0 +1,16 @@
+[Unit]
+Description=LVM2 lock daemon
+Documentation=man:lvmlockd(8)
+After=lvm2-lvmetad.service
+
+[Service]
+Type=simple
+NonBlocking=true
+ExecStart=@sbindir@/lvmlockd -f
+Environment=SD_ACTIVATION=1
+PIDFile=@LVMLOCKD_PIDFILE@
+SendSIGKILL=no
+
+[Install]
+WantedBy=multi-user.target
+