aboutsummaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-generate-systemd.1.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-29 14:40:44 +0000
committerGitHub <noreply@github.com>2021-03-29 14:40:44 +0000
commit00792f8c95f804c446f8ae8e0e105a240074198e (patch)
tree2bd47c4838d06d03a4e531bc514adca65eca27b8 /docs/source/markdown/podman-generate-systemd.1.md
parent5e156c892c248b38005709e1e20838aeceface19 (diff)
parentbc48211924bd8f88263149f8b5d047a52f8d1733 (diff)
downloadpodman-00792f8c95f804c446f8ae8e0e105a240074198e.tar.gz
podman-00792f8c95f804c446f8ae8e0e105a240074198e.tar.bz2
podman-00792f8c95f804c446f8ae8e0e105a240074198e.zip
Merge pull request #9856 from Luap99/fix-longflag
[CI:DOCS] Fix long option format on docs.podman.io
Diffstat (limited to 'docs/source/markdown/podman-generate-systemd.1.md')
-rw-r--r--docs/source/markdown/podman-generate-systemd.1.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/source/markdown/podman-generate-systemd.1.md b/docs/source/markdown/podman-generate-systemd.1.md
index 43cb30f59..431163d56 100644
--- a/docs/source/markdown/podman-generate-systemd.1.md
+++ b/docs/source/markdown/podman-generate-systemd.1.md
@@ -14,46 +14,46 @@ _Note: If you use this command with the remote client, you would still have to p
## OPTIONS
-#### **--files**, **-f**
+#### **\-\-files**, **-f**
Generate files instead of printing to stdout. The generated files are named {container,pod}-{ID,name}.service and will be placed in the current working directory.
Note: On a system with SELinux enabled, the generated files will inherit contexts from the current working directory. Depending on the SELinux setup, changes to the generated files using `restorecon`, `chcon`, or `semanage` may be required to allow systemd to access these files. Alternatively, use the `-Z` option when running `mv` or `cp`.
-#### **--format**=*format*
+#### **\-\-format**=*format*
Print the created units in specified format (json). If `--files` is specified the paths to the created files will be printed instead of the unit content.
-#### **--name**, **-n**
+#### **\-\-name**, **-n**
Use the name of the container for the start, stop, and description in the unit file
-#### **--new**
+#### **\-\-new**
Using this flag will yield unit files that do not expect containers and pods to exist. Instead, new containers and pods are created based on their configuration files. The unit files are created best effort and may need to be further edited; please review the generated files carefully before using them in production.
-#### **--no-header**
+#### **\-\-no-header**
Do not generate the header including meta data such as the Podman version and the timestamp.
-#### **--time**, **-t**=*value*
+#### **\-\-time**, **-t**=*value*
Override the default stop timeout for the container with the given value.
-#### **--restart-policy**=*policy*
+#### **\-\-restart-policy**=*policy*
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*.
-#### **--container-prefix**=*prefix*
+#### **\-\-container-prefix**=*prefix*
Set the systemd unit name prefix for containers. The default is *container*.
-#### **--pod-prefix**=*prefix*
+#### **\-\-pod-prefix**=*prefix*
Set the systemd unit name prefix for pods. The default is *pod*.
-#### **--separator**=*separator*
+#### **\-\-separator**=*separator*
Set the systemd unit name separator between the name/id of a container/pod and the prefix. The default is *-*.