summaryrefslogtreecommitdiff
path: root/testing/lvm2/lvm-on-crypt.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-11 00:02:44 +0000
committerroot <root@rshg054.dnsready.net>2012-08-11 00:02:44 +0000
commit073a889144d77058f1eff2100ad48a538bdc0422 (patch)
tree96e013a0c34f142dccb769073164cd0fd82dea95 /testing/lvm2/lvm-on-crypt.service
parent9f2bff24c46fba67eca7c8125306a9dcd8ea8c73 (diff)
Sat Aug 11 00:02:44 UTC 2012
Diffstat (limited to 'testing/lvm2/lvm-on-crypt.service')
-rw-r--r--testing/lvm2/lvm-on-crypt.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/lvm2/lvm-on-crypt.service b/testing/lvm2/lvm-on-crypt.service
new file mode 100644
index 000000000..4ade6c5b0
--- /dev/null
+++ b/testing/lvm2/lvm-on-crypt.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=LVM activation of encrypted devices
+DefaultDependencies=no
+Requires=systemd-udev-settle.service
+After=systemd-udev-settle.service cryptsetup.target
+Before=shutdown.target
+Conflicts=shutdown.target
+
+[Service]
+ExecStart=/sbin/vgchange --sysinit --available y
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=basic.target