mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +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.Type = "oneshot";
|
||||||
serviceConfig.RemainAfterExit = true;
|
serviceConfig.RemainAfterExit = true;
|
||||||
|
restartIfChanged = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -225,6 +225,7 @@ in
|
|||||||
# writes something to this pipe. FIXME: it also hangs
|
# writes something to this pipe. FIXME: it also hangs
|
||||||
# until the start timeout expires if systemd-nspawn exits.
|
# until the start timeout expires if systemd-nspawn exits.
|
||||||
read x < $root/var/lib/startup-done
|
read x < $root/var/lib/startup-done
|
||||||
|
rm -f $root/var/lib/startup-done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preStop =
|
preStop =
|
||||||
|
Loading…
Reference in New Issue
Block a user