Skip to content

Commit

Permalink
Update containerd systemd unit file
Browse files Browse the repository at this point in the history
Synchronizes unit file with CRI's version

Signed-off-by: Derek McGowan <derek@mcg.dev>
  • Loading branch information
dmcgowan committed Aug 8, 2020
1 parent 7a3508b commit e00a61a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions containerd.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Type=notify
Delegate=yes
KillMode=process
Restart=always
RestartSec=5
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNPROC=infinity
Expand All @@ -19,6 +20,7 @@ LimitNOFILE=1048576
# Comment TasksMax if your systemd version does not supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
OOMScoreAdjust=-999

[Install]
WantedBy=multi-user.target

0 comments on commit e00a61a

Please sign in to comment.