1
0
forked from brl/citadel
citadel/meta-citadel/recipes-initrd/citadel-initramfs/files/citadel-lvm-activate.service

19 lines
385 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Activate LVM volumes
DefaultDependencies=no
AssertPathExists=/etc/initrd-release
# Don't run if running from installer or in live mode
ConditionKernelCommandLine=!citadel.install
ConditionKernelCommandLine=!citadel.live
Requires=cryptsetup.target
After=cryptsetup.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/vgchange -v -aay --sysinit