mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-26 06:37:53 +00:00
19 lines
470 B
Plaintext
Executable File
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
|
|
}
|