Skip to content

Commit 4698012

Browse files
committedMay 20, 2017
systemd-nspawn: add NotifyRead option
1 parent b2a14ee commit 4698012

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎nixos/modules/system/boot/systemd-nspawn.nix

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ let
1414
(assertOnlyFields [
1515
"Boot" "ProcessTwo" "Parameters" "Environment" "User" "WorkingDirectory"
1616
"Capability" "DropCapability" "KillSignal" "Personality" "MachineId"
17-
"PrivateUsers"
17+
"PrivateUsers" "NotifyReady"
1818
])
1919
(assertValueOneOf "Boot" boolValues)
2020
(assertValueOneOf "ProcessTwo" boolValues)
2121
(assertValueOneOf "PrivateUsers" (boolValues ++ [ "pick" ]))
22+
(assertValueOneOf "NotifyReady")
2223
];
2324

2425
checkFiles = checkUnitConfig "Files" [
@@ -82,7 +83,7 @@ let
8283

8384
};
8485

85-
instanceToUnit = name: def:
86+
instanceToUnit = name: def:
8687
{ text = ''
8788
[Exec]
8889
${attrsToSection def.execConfig}

0 commit comments

Comments
 (0)
Please sign in to comment.