mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-18 00:20:59 +00:00
21 lines
561 B
Plaintext
Executable File
21 lines
561 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
export DOCKER_RAMDISK="true"
|
|
|
|
DOCKER_OPTS="${DOCKER_OPTS:--s aufs}"
|
|
command="${DOCKER_BINARY:-/usr/bin/docker}"
|
|
|
|
[ ! -f ${DOCKER_BINARY} ] && [ "${DOCKER_BINARY}" = "/usr/bin/docker-x" ] && get-docker-x
|
|
|
|
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
|
|
}
|