[arch-commits] Commit in lvm2/trunk (lvm-on-crypt.service)
Tom Gundersen
tomegun at archlinux.org
Sat Aug 4 11:26:06 UTC 2012
Date: Saturday, August 4, 2012 @ 07:26:06
Author: tomegun
Revision: 164746
add second systemd service file
This allows lvm on top of encrypted devices. See FS#30908 for deatils.
The file is added to svn, but not to the package, I'll leave it here for the maintainer to evaluate.
Added:
lvm2/trunk/lvm-on-crypt.service
----------------------+
lvm-on-crypt.service | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
Added: lvm-on-crypt.service
===================================================================
--- lvm-on-crypt.service (rev 0)
+++ lvm-on-crypt.service 2012-08-04 11:26:06 UTC (rev 164746)
@@ -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
More information about the arch-commits
mailing list