quadlet recursively scan for unit files

Signed-off-by: Hari Kannan <harikannan512@gmail.com>
This commit is contained in:
Hari Kannan
2023-07-20 23:10:28 +01:00
parent 4315611ad2
commit 413552e10e
8 changed files with 222 additions and 16 deletions

View File

@ -44,7 +44,9 @@ For rootless containers, when administrators place Quadlet files in the
Quadlet when the login session begins. If the administrator places a Quadlet
file in the /etc/containers/systemd/users/${UID}/ directory, then only the
user with the matching UID execute the Quadlet when the login
session gets started.
session gets started. For unit files placed in subdirectories within
/etc/containers/systemd/user/${UID}/ and the other user unit search paths,
Quadlet will recursively search and run the unit files present in these subdirectories.
### Enabling unit files