summaryrefslogtreecommitdiff
path: root/scripts/lvm-vgchange.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lvm-vgchange.service.in')
-rw-r--r--scripts/lvm-vgchange.service.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/lvm-vgchange.service.in b/scripts/lvm-vgchange.service.in
new file mode 100644
index 000000000..8ae0df847
--- /dev/null
+++ b/scripts/lvm-vgchange.service.in
@@ -0,0 +1,12 @@
+[Unit]
+Description=LVM event activation of VG %i
+Documentation=man:vgchange(8)
+DefaultDependencies=no
+StartLimitIntervalSec=0
+Before=shutdown.target
+Conflicts=shutdown.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=no
+ExecStart=@SBINDIR@/lvm vgchange -aay --config log/prefix=\"\" %i