Update containerd systemd unit file
Synchronizes unit file with CRI's version Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
parent
ccda537604
commit
1c7312e5da
@ -11,6 +11,7 @@ Type=notify
|
|||||||
Delegate=yes
|
Delegate=yes
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=5
|
||||||
# Having non-zero Limit*s causes performance problems due to accounting overhead
|
# Having non-zero Limit*s causes performance problems due to accounting overhead
|
||||||
# in the kernel. We recommend using cgroups to do container-local accounting.
|
# in the kernel. We recommend using cgroups to do container-local accounting.
|
||||||
LimitNPROC=infinity
|
LimitNPROC=infinity
|
||||||
@ -19,6 +20,7 @@ LimitNOFILE=1048576
|
|||||||
# Comment TasksMax if your systemd version does not supports it.
|
# Comment TasksMax if your systemd version does not supports it.
|
||||||
# Only systemd 226 and above support this version.
|
# Only systemd 226 and above support this version.
|
||||||
TasksMax=infinity
|
TasksMax=infinity
|
||||||
|
OOMScoreAdjust=-999
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user