systemd-nspawn: add NotifyRead option
This commit is contained in:
parent
b2a14ee339
commit
4698012c52
@ -14,11 +14,12 @@ let
|
|||||||
(assertOnlyFields [
|
(assertOnlyFields [
|
||||||
"Boot" "ProcessTwo" "Parameters" "Environment" "User" "WorkingDirectory"
|
"Boot" "ProcessTwo" "Parameters" "Environment" "User" "WorkingDirectory"
|
||||||
"Capability" "DropCapability" "KillSignal" "Personality" "MachineId"
|
"Capability" "DropCapability" "KillSignal" "Personality" "MachineId"
|
||||||
"PrivateUsers"
|
"PrivateUsers" "NotifyReady"
|
||||||
])
|
])
|
||||||
(assertValueOneOf "Boot" boolValues)
|
(assertValueOneOf "Boot" boolValues)
|
||||||
(assertValueOneOf "ProcessTwo" boolValues)
|
(assertValueOneOf "ProcessTwo" boolValues)
|
||||||
(assertValueOneOf "PrivateUsers" (boolValues ++ [ "pick" ]))
|
(assertValueOneOf "PrivateUsers" (boolValues ++ [ "pick" ]))
|
||||||
|
(assertValueOneOf "NotifyReady")
|
||||||
];
|
];
|
||||||
|
|
||||||
checkFiles = checkUnitConfig "Files" [
|
checkFiles = checkUnitConfig "Files" [
|
||||||
@ -82,7 +83,7 @@ let
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
instanceToUnit = name: def:
|
instanceToUnit = name: def:
|
||||||
{ text = ''
|
{ text = ''
|
||||||
[Exec]
|
[Exec]
|
||||||
${attrsToSection def.execConfig}
|
${attrsToSection def.execConfig}
|
||||||
|
Loading…
Reference in New Issue
Block a user