From e704f1362abc416786076a932d8e2ca930b9fa2e Mon Sep 17 00:00:00 2001 From: Luap99 Date: Thu, 21 May 2020 17:36:41 +0200 Subject: Added new flags to 'podman generate systemd' to change the unit name prefix --container-prefix - default 'container' Systemd unit name prefix for containers --pod-prefix - default 'pod' Systemd unit name prefix for pods --separator - default '-' Systemd unit name seperator between name/id and prefix Signed-off-by: Paul Holzinger --- docs/source/markdown/podman-generate-systemd.1.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/source') 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 -- cgit v1.2.3-54-g00ecf