Disable various services when running inside a container

This commit is contained in:
Eelco Dolstra
2013-11-26 18:19:45 +01:00
parent da093461a2
commit 2b1f212494
11 changed files with 35 additions and 14 deletions
+2
View File
@@ -32,6 +32,8 @@ with pkgs.lib;
path = [ pkgs.sysklogd ];
unitConfig.ConditionVirtualization = "!systemd-nspawn";
exec =
"klogd -c 1 -2 -n " +
"-k $(dirname $(readlink -f /run/booted-system/kernel))/System.map";