podluck@.service¶
Synopsis¶
podluck@.service
Description¶
Systemd unit used to start and stop a podman container managed by podluck.
Environment¶
- PODLUCK_CONTAINER_ARGS_DEFAULT¶
Default arguments passed to
podman runwhenever the unit is started.
- PODLUCK_CONTAINER_ARGS_POD¶
Per-pod arguments passed to
podman runwhenever the unit is started.
- PODLUCK_CONTAINER_ARGS¶
Per-container arguments passed to
podman runwhenever the unit is started.
- PODLUCK_CONTAINER_IMAGE¶
Required. Container image to use.
- PODLUCK_CONTAINER_IMAGE_CMD¶
Command passed to the container image. Empty by default.
- PODLUCK_CONTAINER_STOP_TIMEOUT¶
Number of seconds to wait for a container to be stopped. Note, that this value needs to be kept in sync with the
TimeoutStopSecdirective of the respective systemd unit. It is recommended thatTimeoutStopSecis choosen by adding 60 toPODLUCK_POD_STOP_TIMEOUT. Otherwise podman management processes might get killed by systemd before there was a chance to cleanup misbehaving containers. Defaults to 240 seconds.
Files (user scope)¶
- ~/.config/podluck/default/systemd-container-env¶
Optional systemd environment file shared by all containers in all pods. Specify
PODLUCK_CONTAINER_ARGS_DEFAULTin this file.
- ~/.config/podluck/pod/%p/systemd-container-env¶
Optional systemd per-pod container environment file. Specify
PODLUCK_CONTAINER_ARGS_PODin this file.
- ~/.config/podluck/pod/%p/systemd-container-%i-env¶
Optional systemd per-container environment file. Specify
PODLUCK_CONTAINER_IMAGE(recommended) along withPODLUCK_CONTAINER_IMAGE_CMD(optional) andPODLUCK_CONTAINER_ARGS(optional) in this file.
Files (system scope)¶
- /etc/podluck/default/systemd-container-env¶
Optional systemd environment file shared by all containers in all pods. Specify
PODLUCK_CONTAINER_ARGS_DEFAULTin this file.
- /etc/podluck/pod/%p/systemd-container-env¶
Optional systemd per-pod container environment file. Specify
PODLUCK_CONTAINER_ARGS_PODin this file.
- /etc/podluck/pod/%p/systemd-container-%i-env¶
Optional systemd per-container environment file. Specify
PODLUCK_CONTAINER_IMAGE(recommended) along withPODLUCK_CONTAINER_IMAGE_CMD(optional) andPODLUCK_CONTAINER_ARGS(optional) in this file.
See Also¶
podluck.service(5)