1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/docker/docker-openrc-fixes.patch
Natanael Copa 39012086b7 community/docker: simplify
get rid of needless _ver variable. This also fixes `docker --version` to
be more consistent with the .dep from docker inc.

get rid of _apply_patches() and prepare() functions

replace _dockerdir variable with builddir and adjust openrc patch
2019-09-25 12:03:34 +00:00

13 lines
291 B
Diff

--- a/components/engine/contrib/init/openrc/docker.initd
+++ b/components/engine/contrib/init/openrc/docker.initd
@@ -17,6 +17,10 @@
retry="${DOCKER_RETRY:-TERM/60/KILL/10}"
+depend() {
+ need sysfs cgroups
+}
+
start_pre() {
checkpath -f -m 0644 -o root:docker "$DOCKER_LOGFILE"
}