mirror of
https://github.com/containers/podman.git
synced 2025-10-20 20:54:45 +08:00
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>
This commit is contained in:

committed by
Matthew Heon

parent
197b8ad77b
commit
997b57dccf
@ -6,6 +6,7 @@ Documentation=man:podman-system-service(1)
|
|||||||
StartLimitIntervalSec=0
|
StartLimitIntervalSec=0
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Delegate=true
|
||||||
Type=exec
|
Type=exec
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Environment=LOGGING="--log-level=info"
|
Environment=LOGGING="--log-level=info"
|
||||||
|
Reference in New Issue
Block a user