diff options
Diffstat (limited to 'app-containers/containerd/files')
-rw-r--r-- | app-containers/containerd/files/containerd.confd | 3 | ||||
-rw-r--r-- | app-containers/containerd/files/containerd.initd | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/app-containers/containerd/files/containerd.confd b/app-containers/containerd/files/containerd.confd new file mode 100644 index 000000000000..22ef83205e26 --- /dev/null +++ b/app-containers/containerd/files/containerd.confd @@ -0,0 +1,3 @@ +# This is the delay to be used in the start_post function to wait for +# the socket to be active. +#containerd_socket_delay=5 diff --git a/app-containers/containerd/files/containerd.initd b/app-containers/containerd/files/containerd.initd index 6536fc9ef209..143305c03336 100644 --- a/app-containers/containerd/files/containerd.initd +++ b/app-containers/containerd/files/containerd.initd @@ -22,5 +22,5 @@ start_pre() { } start_post() { - ewaitfile 5 /run/containerd/containerd.sock + ewaitfile ${containerd_socket_delay:-5} /run/containerd/containerd.sock } |