mirror of
https://github.com/containers/podman.git
synced 2025-11-30 01:58:46 +08:00
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>
27 lines
1.1 KiB
Plaintext
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
|