summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAbhijeet Kasurde <akasurde@redhat.com>2022-03-28 21:53:01 +0530
committerDaniel J Walsh <dwalsh@redhat.com>2022-04-12 06:02:48 -0400
commitfb4fc03ec48fb6f6b41b51cecdfe9dae0d1610bb (patch)
treefb0c345ef733c4b8687631ca777340cc3f79f343 /docs
parent0ebd2882f48155daf7b4cc8acbe53a570ac1aceb (diff)
downloadpodman-fb4fc03ec48fb6f6b41b51cecdfe9dae0d1610bb.tar.gz
podman-fb4fc03ec48fb6f6b41b51cecdfe9dae0d1610bb.tar.bz2
podman-fb4fc03ec48fb6f6b41b51cecdfe9dae0d1610bb.zip
Pretty print systemd services file
Fixes: #13337 I added newline only on options IE Begin with "-" [NO NEW TESTS NEEDED] Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-generate-systemd.1.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-generate-systemd.1.md b/docs/source/markdown/podman-generate-systemd.1.md
index 650ffa52f..8c3c32d04 100644
--- a/docs/source/markdown/podman-generate-systemd.1.md
+++ b/docs/source/markdown/podman-generate-systemd.1.md
@@ -145,7 +145,12 @@ RequiresMountsFor=/var/run/container/storage
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure
ExecStartPre=/bin/rm -f %t/%n-pid %t/%n-cid
-ExecStart=/usr/local/bin/podman run --conmon-pidfile %t/%n-pid --cidfile %t/%n-cid --cgroups=no-conmon -d -dit alpine
+ExecStart=/usr/local/bin/podman run
+ --conmon-pidfile %t/%n-pid
+ --cidfile %t/%n-cid
+ --cgroups=no-conmon
+ -d
+ -dit alpine
ExecStop=/usr/local/bin/podman stop --ignore --cidfile %t/%n-cid -t 10
ExecStopPost=/usr/local/bin/podman rm --ignore -f --cidfile %t/%n-cid
PIDFile=%t/%n-pid