diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-12-03 14:50:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 14:50:47 +0100 |
commit | f0f148c494711f679e75cff5542af75715978dbb (patch) | |
tree | 8d0d7320dc3c427350d1aa945f5cf9ada0748ed5 /docs | |
parent | 0c6f1c4fb13e22ca8e97dd93fba9160d7ef573a1 (diff) | |
parent | c9ad1da51c6b1aa7eb531a2f9951aa853bdea109 (diff) | |
download | podman-f0f148c494711f679e75cff5542af75715978dbb.tar.gz podman-f0f148c494711f679e75cff5542af75715978dbb.tar.bz2 podman-f0f148c494711f679e75cff5542af75715978dbb.zip |
Merge pull request #12484 from machacekondra/restartSec
Add restart-sec option to systemd generate command
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/markdown/podman-generate-systemd.1.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-generate-systemd.1.md b/docs/source/markdown/podman-generate-systemd.1.md index bdcaa8ef1..363d042ae 100644 --- a/docs/source/markdown/podman-generate-systemd.1.md +++ b/docs/source/markdown/podman-generate-systemd.1.md @@ -51,6 +51,11 @@ Override the default stop timeout for the container with the given value in seco Set the systemd restart policy. The restart-policy must be one of: "no", "on-success", "on-failure", "on-abnormal", "on-watchdog", "on-abort", or "always". The default policy is *on-failure*. +#### **--restart-sec**=*time* + +Set the systemd service restartsec value. Configures the time to sleep before restarting a service (as configured with restart-policy). +Takes a value in seconds. + #### **--container-prefix**=*prefix* Set the systemd unit name prefix for containers. The default is *container*. |