mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 22:41:09 +02:00
app-emulation/containerd: add restart directive to unit
Containerd can crash and should be restarted if it does.
This commit is contained in:
parent
a40bf5e3ea
commit
0b87be2486
@ -5,6 +5,7 @@ Documentation=http://github.com/docker/containerd
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/containerd --listen unix:///var/run/docker/libcontainerd/docker-containerd.sock --shim /usr/bin/containerd-shim --state-dir /var/run/docker/libcontainerd/containerd --start-timeout 2m
|
||||
Restart=always
|
||||
|
||||
# (lack of) limits from the upstream docker service unit
|
||||
LimitNOFILE=1048576
|
||||
|
@ -61,7 +61,7 @@ RDEPEND="
|
||||
>=app-arch/xz-utils-4.9
|
||||
>=sys-apps/shadow-4.4
|
||||
|
||||
=app-emulation/containerd-0.2.5-r2[seccomp?]
|
||||
=app-emulation/containerd-0.2.5-r3[seccomp?]
|
||||
=app-emulation/runc-1.0.0_rc2_p9[apparmor?,seccomp?]
|
||||
"
|
||||
|
@ -61,7 +61,7 @@ RDEPEND="
|
||||
>=app-arch/xz-utils-4.9
|
||||
>=sys-apps/shadow-4.4
|
||||
|
||||
>=app-emulation/containerd-0.2.7_p2[seccomp?]
|
||||
>=app-emulation/containerd-0.2.7_p2-r1[seccomp?]
|
||||
=app-emulation/runc-1.0.0_rc2_p137[apparmor?,seccomp?]
|
||||
app-emulation/docker-proxy
|
||||
container-init? ( >=sys-process/tini-0.13.1 )
|
||||
|
@ -11,8 +11,8 @@ KEYWORDS="amd64 arm64"
|
||||
|
||||
# Explicitly list all packages that will be built into the image.
|
||||
RDEPEND="
|
||||
=app-emulation/docker-1.12.6-r5
|
||||
=app-emulation/containerd-0.2.5-r2
|
||||
=app-emulation/docker-1.12.6-r6
|
||||
=app-emulation/containerd-0.2.5-r3
|
||||
=app-emulation/runc-1.0.0_rc2_p9
|
||||
"
|
||||
|
||||
|
@ -11,8 +11,8 @@ KEYWORDS="amd64 arm64"
|
||||
|
||||
# Explicitly list all packages that will be built into the image.
|
||||
RDEPEND="
|
||||
=app-emulation/docker-17.05.0
|
||||
=app-emulation/containerd-0.2.7_p2
|
||||
=app-emulation/docker-17.05.0-r1
|
||||
=app-emulation/containerd-0.2.7_p2-r1
|
||||
=app-emulation/docker-proxy-0.8.0_p20170410
|
||||
=app-emulation/runc-1.0.0_rc2_p137
|
||||
=sys-process/tini-0.13.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user