citadel/meta-citadel/recipes-initrd/citadel-initramfs/files/citadel-rootfs-mount.service

27 lines
591 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Create rootfs device with citadel-mount rootfs
DefaultDependencies=no
#
# Only run after all partitions have been discovered
#
2018-03-28 01:48:58 +00:00
ConditionPathExists=/dev/mapper/citadel-rootfsA
ConditionPathExists=/dev/mapper/citadel-rootfsB
ConditionPathExists=/dev/mapper/citadel-storage
#
# Pull in the unit that mounts 'extra' and 'modules' images
#
Wants=citadel-rootfs-setup.service
#
# citadel-mount needs to run in pax soft mode
#
Requires=systemd-sysctl.service
After=systemd-sysctl.service
[Service]
Type=oneshot
2018-03-28 01:48:58 +00:00
RemainAfterExit=yes
ExecStart=/usr/libexec/citadel-mount rootfs