mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
generate systemd: add --start-timeout flag
Add a new flag to set the start timeout for a generated systemd unit. To make naming consistent, add a new --stop-timeout flag as well and let the previous --time map to it. Fixes: #11618 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -38,9 +38,13 @@ Note that `--new` only works on containers and pods created directly via Podman
|
||||
|
||||
Do not generate the header including meta data such as the Podman version and the timestamp.
|
||||
|
||||
#### **--time**, **-t**=*value*
|
||||
#### **--start-timeout** =*value*
|
||||
|
||||
Override the default stop timeout for the container with the given value.
|
||||
Override the default start timeout for the container with the given value in seconds.
|
||||
|
||||
#### **--stop-timeout** =*value*
|
||||
|
||||
Override the default stop timeout for the container with the given value in seconds.
|
||||
|
||||
#### **--restart-policy**=*policy*
|
||||
|
||||
|
Reference in New Issue
Block a user