Files
linuxkit/alpine/packages/docker/etc/init.d/docker
Justin Cormack 1d03f5011d simplify the docker-x install process
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-08 15:16:48 +00:00

19 lines
470 B
Plaintext
Executable File

#!/sbin/openrc-run
export DOCKER_RAMDISK="true"
DOCKER_OPTS="${DOCKER_OPTS:--s aufs}"
command="${DOCKER_BINARY:-/usr/bin/docker}"
pidfile="${DOCKER_PIDFILE:-/run/${RC_SVCNAME}.pid}"
command_args="daemon -p \"${pidfile}\" ${DOCKER_OPTS}"
DOCKER_LOGFILE="${DOCKER_LOGFILE:-/var/log/${RC_SVCNAME}.log}"
start_stop_daemon_args="--background \
--stderr \"${DOCKER_LOGFILE}\" --stdout \"${DOCKER_LOGFILE}\""
depend()
{
after 9pudc
before chronyd
}