summaryrefslogtreecommitdiff
path: root/pkg/systemd/generate/common.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-31 14:53:35 +0200
committerGitHub <noreply@github.com>2021-05-31 14:53:35 +0200
commit60b372b49b53ef4fccb16a366e7133a861143612 (patch)
tree40e47f9091b1c17edd79d9f8af506c8f5d6b2695 /pkg/systemd/generate/common.go
parentc1c18039dca2d0967082e63935c2052cd089570a (diff)
parent53072184192e9952daa3a84bc6f55c15e9ea352e (diff)
downloadpodman-60b372b49b53ef4fccb16a366e7133a861143612.tar.gz
podman-60b372b49b53ef4fccb16a366e7133a861143612.tar.bz2
podman-60b372b49b53ef4fccb16a366e7133a861143612.zip
Merge pull request #10506 from vrothberg/fix-10493
generate systemd: make mounts portable
Diffstat (limited to 'pkg/systemd/generate/common.go')
-rw-r--r--pkg/systemd/generate/common.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/systemd/generate/common.go b/pkg/systemd/generate/common.go
index 0f667e2f4..1ee070888 100644
--- a/pkg/systemd/generate/common.go
+++ b/pkg/systemd/generate/common.go
@@ -36,7 +36,7 @@ Description=Podman {{{{.ServiceName}}}}.service
Documentation=man:podman-generate-systemd(1)
Wants=network.target
After=network-online.target
-RequiresMountsFor={{{{.GraphRoot}}}} {{{{.RunRoot}}}}
+RequiresMountsFor={{{{.RunRoot}}}}
`
// filterPodFlags removes --pod, --pod-id-file and --infra-conmon-pidfile from the specified command.