mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Don't restart container-startup-done
This commit is contained in:
parent
596bd37163
commit
35bf0f4810
@ -99,6 +99,7 @@ with lib;
|
||||
'';
|
||||
serviceConfig.Type = "oneshot";
|
||||
serviceConfig.RemainAfterExit = true;
|
||||
restartIfChanged = false;
|
||||
};
|
||||
|
||||
};
|
||||
|
@ -225,6 +225,7 @@ in
|
||||
# writes something to this pipe. FIXME: it also hangs
|
||||
# until the start timeout expires if systemd-nspawn exits.
|
||||
read x < $root/var/lib/startup-done
|
||||
rm -f $root/var/lib/startup-done
|
||||
'';
|
||||
|
||||
preStop =
|
||||
|
Loading…
Reference in New Issue
Block a user