From 073a889144d77058f1eff2100ad48a538bdc0422 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 11 Aug 2012 00:02:44 +0000 Subject: Sat Aug 11 00:02:44 UTC 2012 --- testing/lvm2/lvm-on-crypt.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 testing/lvm2/lvm-on-crypt.service (limited to 'testing/lvm2/lvm-on-crypt.service') 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 -- cgit v1.2.3-54-g00ecf