Merge pull request #50156 from gagara/openrc-containerd-customization

openrc: allow customizing containerd service name
This commit is contained in:
Paweł Gronowski
2025-06-11 09:24:11 +00:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -25,5 +25,8 @@
# where the docker daemon itself is run from
#DOCKERD_BINARY="/usr/bin/dockerd"
# containerd service name
#CONTAINERD_SVC="containerd"
# any other random options you want to pass to docker
DOCKER_OPTS=""

View File

@@ -18,7 +18,7 @@ rc_ulimit="${DOCKER_ULIMIT:--c unlimited -n 524288 -u unlimited}"
retry="${DOCKER_RETRY:-TERM/60/KILL/10}"
depend() {
need containerd
need ${CONTAINERD_SVC:-containerd}
}
start_pre() {