diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-03-26 15:59:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 15:59:12 +0000 |
commit | 47006d32ed6648d4e4e3904ce480a2dbfab056cd (patch) | |
tree | 2b50463a64a7bf84010e0d2612cbcd571d911b7c /pkg/systemd/generate/common.go | |
parent | fa6ba9b00fb5f77ead67b624be510ec50b2f4f5e (diff) | |
parent | 748826fc88fcdba373dfcb0986bc3c08b8b858fe (diff) | |
download | podman-47006d32ed6648d4e4e3904ce480a2dbfab056cd.tar.gz podman-47006d32ed6648d4e4e3904ce480a2dbfab056cd.tar.bz2 podman-47006d32ed6648d4e4e3904ce480a2dbfab056cd.zip |
Merge pull request #9726 from tunacado/add_runroot_mount_require_to_systemd_gen
Add RequiresMountsFor= to systemd generate
Diffstat (limited to 'pkg/systemd/generate/common.go')
-rw-r--r-- | pkg/systemd/generate/common.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/systemd/generate/common.go b/pkg/systemd/generate/common.go index 94a6f4cb5..19d468403 100644 --- a/pkg/systemd/generate/common.go +++ b/pkg/systemd/generate/common.go @@ -36,6 +36,7 @@ Description=Podman {{{{.ServiceName}}}}.service Documentation=man:podman-generate-systemd(1) Wants=network.target After=network-online.target +RequiresMountsFor={{{{.GraphRoot}}}} {{{{.RunRoot}}}} ` // filterPodFlags removes --pod and --pod-id-file from the specified command. |