summaryrefslogtreecommitdiff
path: root/pkg/systemd/generate/common.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-01 19:00:48 +0200
committerGitHub <noreply@github.com>2021-06-01 19:00:48 +0200
commit96c0aa688b54552fa29cdf15923f095c8bd5c2c9 (patch)
tree9f5765139fd9490501e7d70a1940aa27a9c58b63 /pkg/systemd/generate/common.go
parentba1dac74055f1a79e3ebea73913067a9560e96c1 (diff)
parent32927f5d66fa996ecd5505fd222bfd525ba69f61 (diff)
downloadpodman-96c0aa688b54552fa29cdf15923f095c8bd5c2c9.tar.gz
podman-96c0aa688b54552fa29cdf15923f095c8bd5c2c9.tar.bz2
podman-96c0aa688b54552fa29cdf15923f095c8bd5c2c9.zip
Merge pull request #10509 from vrothberg/v3.2-cherry-pick-53072184192e9952daa3a84bc6f55c15e9ea352e
[v3.2] 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.