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 <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed Jul 13, 2022
1 parent c837944 commit cd97b73
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 cd97b73

Please sign in to comment.