summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2022-03-30 15:49:04 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2022-03-30 15:49:06 +0200
commit81632722ea1e9bef4767f6feb9a76567d9c4541a (patch)
tree14878fb81341c3a204a60585123808794060a8f4 /contrib
parentff8834f0232f128b781ec23d66a5676da0670847 (diff)
downloadpodman-81632722ea1e9bef4767f6feb9a76567d9c4541a.tar.gz
podman-81632722ea1e9bef4767f6feb9a76567d9c4541a.tar.bz2
podman-81632722ea1e9bef4767f6feb9a76567d9c4541a.zip
systemd: enable all cgroups when running as a service
enable cgroup delegation when running as a systemd service so all the available controllers are correctly detected. Closes: https://github.com/containers/podman/issues/13710 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/systemd/system/podman.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/systemd/system/podman.service.in b/contrib/systemd/system/podman.service.in
index 9a7e04fd4..c1a5952b5 100644
--- a/contrib/systemd/system/podman.service.in
+++ b/contrib/systemd/system/podman.service.in
@@ -6,6 +6,7 @@ Documentation=man:podman-system-service(1)
StartLimitIntervalSec=0
[Service]
+Delegate=true
Type=exec
KillMode=process
Environment=LOGGING="--log-level=info"