summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-generate-systemd.1.md
diff options
context:
space:
mode:
authorLuap99 <paul.holzinger@web.de>2020-05-21 17:36:41 +0200
committerLuap99 <paul.holzinger@web.de>2020-05-22 18:38:39 +0200
commite704f1362abc416786076a932d8e2ca930b9fa2e (patch)
tree97fe00322c0fc8023451ff5334b9867924712d5f /docs/source/markdown/podman-generate-systemd.1.md
parent72e880351a88ae54b69046ab14a9a4a52c51c78b (diff)
downloadpodman-e704f1362abc416786076a932d8e2ca930b9fa2e.tar.gz
podman-e704f1362abc416786076a932d8e2ca930b9fa2e.tar.bz2
podman-e704f1362abc416786076a932d8e2ca930b9fa2e.zip
Added new flags to 'podman generate systemd' to change the unit name prefix
--container-prefix <string> - default 'container' Systemd unit name prefix for containers --pod-prefix <string> - default 'pod' Systemd unit name prefix for pods --separator <string> - default '-' Systemd unit name seperator between name/id and prefix Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'docs/source/markdown/podman-generate-systemd.1.md')
-rw-r--r--docs/source/markdown/podman-generate-systemd.1.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-generate-systemd.1.md b/docs/source/markdown/podman-generate-systemd.1.md
index fa04f81f9..72031b19b 100644
--- a/docs/source/markdown/podman-generate-systemd.1.md
+++ b/docs/source/markdown/podman-generate-systemd.1.md
@@ -40,6 +40,18 @@ Override the default stop timeout for the container with the given value.
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*
+
+Set the systemd unit name prefix for containers. The default is *container*.
+
+**--pod-prefix**=*prefix*
+
+Set the systemd unit name prefix for pods. The default is *pod*.
+
+**--separator**=*separator*
+
+Set the systemd unit name seperator between the name/id of a container/pod and the prefix. The default is *-*.
+
## Examples
### Generate and print a systemd unit file for a container