diff options
author | Ondra Machacek <omachace@redhat.com> | 2021-12-02 13:44:35 +0100 |
---|---|---|
committer | Ondra Machacek <omachace@redhat.com> | 2021-12-03 12:11:28 +0100 |
commit | c9ad1da51c6b1aa7eb531a2f9951aa853bdea109 (patch) | |
tree | 8e94a4877172747dbfa308d5db2099ddc80dd9ad /docs/source/markdown/podman-generate-systemd.1.md | |
parent | a6d1220ac08456dcc075b85b168def3ffeadb58d (diff) | |
download | podman-c9ad1da51c6b1aa7eb531a2f9951aa853bdea109.tar.gz podman-c9ad1da51c6b1aa7eb531a2f9951aa853bdea109.tar.bz2 podman-c9ad1da51c6b1aa7eb531a2f9951aa853bdea109.zip |
Add restart-sec option to systemd generate
Signed-off-by: Ondra Machacek <omachace@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-generate-systemd.1.md')
-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*. |