systemd-nspawn: add NotifyRead option

This commit is contained in:
Jörg Thalheim 2017-05-19 21:42:20 +01:00
parent b2a14ee339
commit 4698012c52
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -14,11 +14,12 @@ let
(assertOnlyFields [
"Boot" "ProcessTwo" "Parameters" "Environment" "User" "WorkingDirectory"
"Capability" "DropCapability" "KillSignal" "Personality" "MachineId"
"PrivateUsers"
"PrivateUsers" "NotifyReady"
])
(assertValueOneOf "Boot" boolValues)
(assertValueOneOf "ProcessTwo" boolValues)
(assertValueOneOf "PrivateUsers" (boolValues ++ [ "pick" ]))
(assertValueOneOf "NotifyReady")
];
checkFiles = checkUnitConfig "Files" [
@ -82,7 +83,7 @@ let
};
instanceToUnit = name: def:
instanceToUnit = name: def:
{ text = ''
[Exec]
${attrsToSection def.execConfig}