summaryrefslogtreecommitdiff
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>2020-09-05 06:42:36 -0400
committerGitHub <noreply@github.com>2020-09-05 06:42:36 -0400
commitf1323a941c7b5709197def5d10ad79ed24bbbc35 (patch)
tree3d0e1b98c20b4d5191f86b57d8197bf6daadf4f5 /docs/source/markdown/podman-generate-systemd.1.md
parent6862cc667761fe3cb8dd45a3491cdca977d493cf (diff)
parentebfea2f4f89328ec3f74a8deedb3e727ce89ea59 (diff)
downloadpodman-f1323a941c7b5709197def5d10ad79ed24bbbc35.tar.gz
podman-f1323a941c7b5709197def5d10ad79ed24bbbc35.tar.bz2
podman-f1323a941c7b5709197def5d10ad79ed24bbbc35.zip
Merge pull request #7329 from Luap99/generate-systemd-remote
APIv2 add generate systemd endpoint
Diffstat (limited to 'docs/source/markdown/podman-generate-systemd.1.md')
-rw-r--r--docs/source/markdown/podman-generate-systemd.1.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-generate-systemd.1.md b/docs/source/markdown/podman-generate-systemd.1.md
index d0b1b3588..2ee290f0f 100644
--- a/docs/source/markdown/podman-generate-systemd.1.md
+++ b/docs/source/markdown/podman-generate-systemd.1.md
@@ -10,7 +10,7 @@ podman\-generate\-systemd - Generate systemd unit file(s) for a container or pod
**podman generate systemd** will create a systemd unit file that can be used to control a container or pod.
By default, the command will print the content of the unit files to stdout.
-Note that this command is not supported for the remote client.
+_Note: If you use this command with the remote client, you would still have to place the generated units on the remote system._
## OPTIONS:
@@ -20,6 +20,10 @@ Generate files instead of printing to stdout. The generated files are named {co
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*
+
+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**
Use the name of the container for the start, stop, and description in the unit file