From e3c9fa6ddd63b934d73227d5c5b035ae484d622e Mon Sep 17 00:00:00 2001 From: ByoungUk Lee Date: Wed, 8 Oct 2025 10:35:09 +0000 Subject: [PATCH] Update docs for StopTimeOut Signed-off-by: ByoungUk Lee --- docs/source/markdown/podman-systemd.unit.5.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/source/markdown/podman-systemd.unit.5.md b/docs/source/markdown/podman-systemd.unit.5.md index 480f08eb22..427571a5fe 100644 --- a/docs/source/markdown/podman-systemd.unit.5.md +++ b/docs/source/markdown/podman-systemd.unit.5.md @@ -1021,7 +1021,7 @@ a `$name.pod` file creates a `$name-pod.service` unit and a `systemd-$name` Podm Valid options for `[Pod]` are listed below: -| **[Pod] options** | **podman pod create equivalent** | +| **[Pod] options** | **podman pod create equivalent** | |-------------------------------------|----------------------------------------| | AddHost=example\.com:192.168.10.11 | --add-host example.com:192.168.10.11 | | ContainersConfModule=/etc/nvd\.conf | --module=/etc/nvd\.conf | @@ -1042,6 +1042,7 @@ Valid options for `[Pod]` are listed below: | PublishPort=8080:80 | --publish 8080:80 | | ServiceName=name | Name the systemd unit `name.service` | | ShmSize=100m | --shm-size=100m | +| StopTimeout=20 | --time=20 | | SubGIDMap=gtest | --subgidname=gtest | | SubUIDMap=utest | --subuidname=utest | | UIDMap=0:10000:10 | --uidmap=0:10000:10 | @@ -1210,6 +1211,12 @@ Size of /dev/shm. This is equivalent to the Podman `--shm-size` option and generally has the form `number[unit]` +### `StopTimeout=` + +Sets the time in seconds to wait for the pod to gracefully stop. +This value is equivalent to the `--time` argument in the podman `pod stop` command when the service is stopped. +After this period expires, any running containers in the pod are forcibly killed. + ### `SubGIDMap=` Create the pod in a new user namespace using the map with name in the /etc/subgid file.