summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-generate-systemd.1.md
diff options
context:
space:
mode:
authorYuan-Hao Chen <yhchen0906@gmail.com>2020-06-19 00:59:50 +0800
committerYuan-Hao Chen <yhchen0906@gmail.com>2020-06-19 22:23:35 +0800
commitf18d2751f69f90f65bd22d9d97bb9e288b683e10 (patch)
tree251767e16e9483156651544c9ff2a6d7d941ca28 /docs/source/markdown/podman-generate-systemd.1.md
parent5ec29f8d4e79500915ec79824d9eb21630205f3f (diff)
downloadpodman-f18d2751f69f90f65bd22d9d97bb9e288b683e10.tar.gz
podman-f18d2751f69f90f65bd22d9d97bb9e288b683e10.tar.bz2
podman-f18d2751f69f90f65bd22d9d97bb9e288b683e10.zip
correct the absolute path of `rm` executable
Signed-off-by: Yuan-Hao Chen <yhchen0906@gmail.com>
Diffstat (limited to 'docs/source/markdown/podman-generate-systemd.1.md')
-rw-r--r--docs/source/markdown/podman-generate-systemd.1.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-generate-systemd.1.md b/docs/source/markdown/podman-generate-systemd.1.md
index 2facd754c..dc10a583d 100644
--- a/docs/source/markdown/podman-generate-systemd.1.md
+++ b/docs/source/markdown/podman-generate-systemd.1.md
@@ -97,7 +97,7 @@ After=network-online.target
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure
-ExecStartPre=/usr/bin/rm -f %t/%n-pid %t/%n-cid
+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
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