summaryrefslogtreecommitdiffstats
path: root/abs/core/lvm2/lvm.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/lvm2/lvm.service')
-rw-r--r--abs/core/lvm2/lvm.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/abs/core/lvm2/lvm.service b/abs/core/lvm2/lvm.service
new file mode 100644
index 0000000..277d5a7
--- /dev/null
+++ b/abs/core/lvm2/lvm.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=LVM activation
+DefaultDependencies=no
+Requires=systemd-udev-settle.service
+After=systemd-udev-settle.service
+Before=basic.target shutdown.target
+Conflicts=shutdown.target
+
+[Service]
+ExecStart=/sbin/vgchange --sysinit --available y
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=basic.target