add Restart=always to unit file

Signed-off-by: Benjamin Elder <bentheelder@google.com>
This commit is contained in:
Benjamin Elder 2019-05-22 05:50:27 -07:00
parent 2088fc999c
commit bbe45e4467

View File

@ -9,6 +9,7 @@ ExecStart=/usr/local/bin/containerd
Delegate=yes
KillMode=process
Restart=always
# 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