remove customisation options as we will need to access pidfile elsewhere

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-01-21 17:16:17 +00:00
parent af8742eaaf
commit 1ea4bc9cd1

View File

@ -16,12 +16,12 @@ fi
command="${DOCKER_BINARY:-/usr/bin/docker}"
pidfile="${DOCKER_PIDFILE:-/run/${RC_SVCNAME}.pid}"
pidfile="/run/docker.pid"
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}/docker.log"
fi
if cat /proc/cmdline | grep -q 'com.docker.database'