Add a conditional to contrib/init/sysvinit-debian/docker for Dash vs Bash support
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon) Docker-DCO-1.1-Signed-off-by: Tianon Gravi <admwiggin@gmail.com> (github: vieux)
This commit is contained in:
parent
699bc47137
commit
21341e9e13
1 changed files with 5 additions and 1 deletions
|
@ -89,7 +89,11 @@ case "$1" in
|
|||
chgrp docker "$DOCKER_LOGFILE"
|
||||
|
||||
ulimit -n 1048576
|
||||
ulimit -u 1048576
|
||||
if [ "$BASH" ]; then
|
||||
ulimit -u 1048576
|
||||
else
|
||||
ulimit -p 1048576
|
||||
fi
|
||||
|
||||
log_begin_msg "Starting $DOCKER_DESC: $BASE"
|
||||
start-stop-daemon --start --background \
|
||||
|
|
Loading…
Add table
Reference in a new issue