mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
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:
parent
af8742eaaf
commit
1ea4bc9cd1
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user