Make the backdoor service survive systemctl isolate.

This commit is contained in:
r-vdp 2023-05-08 18:30:02 +02:00
parent 39d298626d
commit 9254ace18f
No known key found for this signature in database

View file

@ -262,6 +262,8 @@ in
[Unit]
Requires = dev-hvc0.device dev-ttyS0.device mount-store.service
After = dev-hvc0.device dev-ttyS0.device mount-store.service
# Keep this unit active when we switch to rescue mode for instance
IgnoreOnIsolate = true
[Service]
ExecStart = ${pkgs.writeShellScript "backdoor-start-script" ''