diff --git a/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service b/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service index 300324a7..76dd81fe 100644 --- a/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service +++ b/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service @@ -17,6 +17,7 @@ After=systemd-udevd.service Type=oneshot ExecStart=/bin/bash /etc/sel-ebc/boot-mount.sh RemainAfterExit=yes +ExecStop=/usr/bin/umount /boot # On failure immediately abort boot FailureAction=poweroff-immediate