Quadlet - support additional systemd unit relationship keys

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
Ygal Blum
2025-04-17 14:51:24 -04:00
parent 51c4df1316
commit 6ac0a28564
2 changed files with 14 additions and 6 deletions

View File

@ -213,15 +213,21 @@ var (
validPortRange = regexp.Delayed(`\d+(-\d+)?(/udp|/tcp)?$`)
unitDependencyKeys = []string{
"Wants",
"After",
"Before",
"BindsTo",
"Conflicts",
"OnFailure",
"OnSuccess",
"PartOf",
"PropagatesReloadTo",
"PropagatesStopTo",
"ReloadPropagatedFrom",
"Requires",
"Requisite",
"BindsTo",
"PartOf",
"StopPropagatedFrom",
"Upholds",
"Conflicts",
"Before",
"After",
"Wants",
}
// Supported keys in "Container" group