[CI:DOCS] Quadlet - add note about relative path resolution

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
Ygal Blum 2024-06-16 10:43:34 +03:00
parent f269485295
commit dca94be028
1 changed files with 7 additions and 0 deletions

View File

@ -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