Skip to content

Commit

Permalink
systemd: enable all cgroups when running as a service
Browse files Browse the repository at this point in the history
enable cgroup delegation when running as a systemd service so all the
available controllers are correctly detected.

Closes: containers#13710

Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed Mar 30, 2022
1 parent ff8834f commit 8163272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/systemd/system/podman.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Documentation=man:podman-system-service(1)
StartLimitIntervalSec=0

[Service]
Delegate=true
Type=exec
KillMode=process
Environment=LOGGING="--log-level=info"
Expand Down

0 comments on commit 8163272

Please sign in to comment.