Files
podman/test/e2e/quadlet/install.container
John Schug a0cae65c13 quadlet: add support for the UpheldBy option in the Install section
This adds support for the UpheldBy option in quadlet files. The UpheldBy option
is the counterpart to the Upholds option added in systemd v249 and is
similar to the existing WantedBy and RequiredBy options.

See https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Upholds=.

Signed-off-by: John Schug <john.ips.schug@gmail.com>
2025-03-27 15:48:46 -07:00

27 lines
1.1 KiB
Plaintext

## assert-symlink alias.service install.service
## assert-symlink another-alias.service install.service
## assert-symlink in/a/dir/alias3.service ../../../install.service
## assert-symlink want1.service.wants/install.service ../install.service
## assert-symlink want2.service.wants/install.service ../install.service
## assert-symlink want3.service.wants/install.service ../install.service
## assert-symlink req1.service.requires/install.service ../install.service
## assert-symlink req2.service.requires/install.service ../install.service
## assert-symlink req3.service.requires/install.service ../install.service
## assert-symlink up1.service.upholds/install.service ../install.service
## assert-symlink up2.service.upholds/install.service ../install.service
## assert-symlink up3.service.upholds/install.service ../install.service
[Container]
Image=localhost/imagename
[Install]
Alias=alias.service \
"another-alias.service"
Alias=in/a/dir/alias3.service
WantedBy=want1.service want2.service
WantedBy=want3.service
RequiredBy=req1.service req2.service
RequiredBy=req3.service
UpheldBy=up1.service up2.service
UpheldBy=up3.service