summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYgal Blum <ygal.blum@gmail.com>2024-06-16 10:43:34 +0300
committerYgal Blum <ygal.blum@gmail.com>2024-06-17 17:32:34 +0300
commitdca94be028805ddab2f7ed1b79dad25e4a32a2f3 (patch)
tree8e2d2a1497bd6810df25fa591df6a2778f177bcb
parentf26948529558e6a0dfe74d70605331979eddb94a (diff)
[CI:DOCS] Quadlet - add note about relative path resolution
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
-rw-r--r--docs/source/markdown/podman-systemd.unit.5.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-systemd.unit.5.md b/docs/source/markdown/podman-systemd.unit.5.md
index 94489b2b5..e46b44df6 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