Make the backdoor service survive systemctl isolate.
This commit is contained in:
parent
39d298626d
commit
9254ace18f
1 changed files with 2 additions and 0 deletions
|
|
@ -262,6 +262,8 @@ in
|
||||||
[Unit]
|
[Unit]
|
||||||
Requires = dev-hvc0.device dev-ttyS0.device mount-store.service
|
Requires = dev-hvc0.device dev-ttyS0.device mount-store.service
|
||||||
After = 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]
|
[Service]
|
||||||
ExecStart = ${pkgs.writeShellScript "backdoor-start-script" ''
|
ExecStart = ${pkgs.writeShellScript "backdoor-start-script" ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue