From 361614c20299513867304245080c7788ee613fc5 Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Mon, 13 May 2024 16:09:22 +0200 Subject: [PATCH] stage/systemd.unit.create: add Before option Support the Before option in the Unit section of the unit file. --- stages/org.osbuild.systemd.unit.create.meta.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stages/org.osbuild.systemd.unit.create.meta.json b/stages/org.osbuild.systemd.unit.create.meta.json index 8919faab..05431429 100644 --- a/stages/org.osbuild.systemd.unit.create.meta.json +++ b/stages/org.osbuild.systemd.unit.create.meta.json @@ -19,6 +19,7 @@ " - 'Requires' - [strings]", " - 'Wants' - [strings]", " - 'After' - [strings]", + " - 'Before' - [strings]", " - 'Service' section", " - 'Type' - string", " - 'RemainAfterExit' - bool", @@ -90,6 +91,12 @@ "type": "string" } }, + "Before": { + "type": "array", + "items": { + "type": "string" + } + }, "Requires": { "type": "array", "items": {