diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-03-30 15:49:04 +0200 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2022-03-30 15:36:05 -0400 |
commit | 997b57dccf82beb566366b81ac4242c88ef116ef (patch) | |
tree | 88494e8fe1a2c16e6bd9a04224c3ae38746e1897 | |
parent | 197b8ad77bbcfd79fa76b38c5466373c165fc927 (diff) | |
download | podman-997b57dccf82beb566366b81ac4242c88ef116ef.tar.gz podman-997b57dccf82beb566366b81ac4242c88ef116ef.tar.bz2 podman-997b57dccf82beb566366b81ac4242c88ef116ef.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>
-rw-r--r-- | contrib/systemd/system/podman.service.in | 1 |
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" |