From dca94be028805ddab2f7ed1b79dad25e4a32a2f3 Mon Sep 17 00:00:00 2001 From: Ygal Blum Date: Sun, 16 Jun 2024 10:43:34 +0300 Subject: [PATCH] [CI:DOCS] Quadlet - add note about relative path resolution Signed-off-by: Ygal Blum --- docs/source/markdown/podman-systemd.unit.5.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/source/markdown/podman-systemd.unit.5.md b/docs/source/markdown/podman-systemd.unit.5.md index 94489b2b56..e46b44df6d 100644 --- a/docs/source/markdown/podman-systemd.unit.5.md +++ b/docs/source/markdown/podman-systemd.unit.5.md @@ -185,6 +185,13 @@ create a drop-in file like `sleep@10.container.d/10-image.conf`: Image=quay.io/centos/centos ``` +### Relative paths + +In order to support Systemd specifiers, Quadlet does not resolve relative paths that start with `%`. +To resolve such a path, prepend it with `./`. + +For example, instead of `EnvironmentFile=%n/env` use `EnvironmentFile=./%n/env` + ### Debugging unit files After placing the unit file in one of the unit search paths (mentioned