mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 01:59:07 +00:00
fix docker log output
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
parent
7be084d189
commit
a31db284e3
@ -11,7 +11,7 @@ command_args="daemon -p \"${pidfile}\" ${DOCKER_OPTS}"
|
||||
if cat /proc/cmdline | grep -q 'com.docker.groupDir'
|
||||
then
|
||||
GROUPDIR="/Mac$(cat /proc/cmdline | sed -e 's/.*com.docker.groupDir="//' -e 's/".*//')"
|
||||
[ -d ${GROUPDIR} ] && DOCKER_LOGFILE="${GROUPDIR}/${RC_SVCNAME}.log}"
|
||||
[ -d "${GROUPDIR}" ] && DOCKER_LOGFILE="${GROUPDIR}/${RC_SVCNAME}.log"
|
||||
fi
|
||||
|
||||
DOCKER_LOGFILE="${DOCKER_LOGFILE:-/var/log/${RC_SVCNAME}.log}"
|
||||
|
Loading…
Reference in New Issue
Block a user