2018-03-28 00:40:02 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Watch for new entries in /dev/mapper
|
2018-12-31 23:41:27 +00:00
|
|
|
DefaultDependencies=no
|
|
|
|
|
|
|
|
# Only run in initramfs
|
|
|
|
ConditionPathExists=/etc/initrd-release
|
|
|
|
|
|
|
|
# Only run if root is set to this exact path, since that's
|
|
|
|
# the path created by 'citadel-mount rootfs'
|
|
|
|
ConditionKernelCommandLine=root=/dev/mapper/rootfs
|
|
|
|
|
|
|
|
# Don't run if running from installer or in live mode
|
|
|
|
ConditionKernelCommandLine=!citadel.install
|
|
|
|
ConditionKernelCommandLine=!citadel.live
|
2018-03-28 00:40:02 +00:00
|
|
|
|
2019-01-15 17:27:17 +00:00
|
|
|
Requires=citadel-lvm-activate.service
|
|
|
|
|
2018-03-28 00:40:02 +00:00
|
|
|
[Path]
|
|
|
|
PathChanged=/dev/mapper
|
|
|
|
|