summaryrefslogtreecommitdiff
blob: 22aa145f33b8c415a55f6a89ccb0f7e36ecd82ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From bb69104381805014eb7675682d204fe460a52388 Mon Sep 17 00:00:00 2001
From: Jan Breig <git@pygos.space>
Date: Mon, 16 May 2022 14:58:36 +0200
Subject: [PATCH] Openrc: Depend on containerd init script

Signed-off-by: Jan Breig <git@pygos.space>
---
 contrib/init/openrc/docker.initd | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/init/openrc/docker.initd b/contrib/init/openrc/docker.initd
index 3229223bad..57defb8f57 100644
--- a/contrib/init/openrc/docker.initd
+++ b/contrib/init/openrc/docker.initd
@@ -17,6 +17,10 @@ rc_ulimit="${DOCKER_ULIMIT:--c unlimited -n 1048576 -u unlimited}"
 
 retry="${DOCKER_RETRY:-TERM/60/KILL/10}"
 
+depend() {
+	need containerd
+}
+
 start_pre() {
 	checkpath -f -m 0644 -o root:docker "$DOCKER_LOGFILE"
 }
-- 
2.35.1