Containers: Use systemd-nspawn's --keep-unit flag

This gets rid of some redundant scopes/slices.
This commit is contained in:
Eelco Dolstra 2014-05-07 16:06:47 +02:00
parent 5b52d17d3f
commit 810680bcae

View File

@ -220,6 +220,7 @@ in
''}
exec $runInNetNs ${config.systemd.package}/bin/systemd-nspawn \
--keep-unit \
-M "$INSTANCE" -D "$root" $extraFlags \
--bind-ro=/nix/store \
--bind-ro=/nix/var/nix/db \