Michael Crosby
54257bb5e6
Add local-fs.target to service file
...
This will ensure that containerd is started after the /etc/fstab entries
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-10-10 17:06:39 -04:00
Benjamin Elder
bbe45e4467
add Restart=always to unit file
...
Signed-off-by: Benjamin Elder <bentheelder@google.com>
2019-05-23 15:21:42 -07:00
Michael Crosby
1a1f8f11a5
Set nofile to 1048576
...
Closes #3201
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-10 11:39:17 -04:00
Sebastiaan van Stijn
555ea3fb43
Ignore modprobe failures in ExecStartPre (systemd unit)
...
When running containerd inside LXC, due to systemd being unable to execute
`modprobe overlay` inside the container (module is already loaded in host kernel).
This patch adds a `-` prefix to the `ExecStartPre` command, so that failures
are ignored, and the service can start as usual.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-11-10 12:52:06 +01:00
Michael Crosby
4972e3fae6
Update unit file for resources and task max
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-08-31 09:35:35 -04:00
Michael Crosby
b009642e1a
Add rlimits to service file
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-30 18:50:32 -05:00
Michael Crosby
0bc86860f0
Add containerd unit file
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-16 14:05:16 -07:00