aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker/docker.initd
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-02-28 03:18:55 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-28 00:21:21 -0300
commit520d569d79816da5c988532589cf086306484bdc (patch)
tree9fb651feaa3c36f00163ae1dcfc317fbea944a34 /community/docker/docker.initd
parentbc60bb71fcd31cf2ef7196cf61d7817d7f7392df (diff)
downloadaports-520d569d79816da5c988532589cf086306484bdc.tar.bz2
aports-520d569d79816da5c988532589cf086306484bdc.tar.xz
community/docker: add missing depend() to init.d script
Docker needs the services in `depend` function started. Also removed unused patch.
Diffstat (limited to 'community/docker/docker.initd')
-rw-r--r--community/docker/docker.initd4
1 files changed, 4 insertions, 0 deletions
diff --git a/community/docker/docker.initd b/community/docker/docker.initd
index 5a56d983a4..df81e3651c 100644
--- a/community/docker/docker.initd
+++ b/community/docker/docker.initd
@@ -18,6 +18,10 @@ rc_ulimit="${DOCKER_ULIMIT:--c unlimited -n 1048576 -u unlimited}"
retry="${DOCKER_RETRY:-TERM/60/KILL/10}"
+depend() {
+ need sysfs cgroups
+}
+
start_pre() {
checkpath -f -m 0644 -o root:docker "$DOCKER_LOGFILE"
}