Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 681301 Details for
Bug 763891
app-containers/docker: runscript defines default ulimit options that depend on bash
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
docker.initd
docker.initd (text/plain), 1.08 KB, created by
kfm
on 2021-01-05 14:19:16 UTC
(
hide
)
Description:
docker.initd
Filename:
MIME Type:
Creator:
kfm
Created:
2021-01-05 14:19:16 UTC
Size:
1.08 KB
patch
obsolete
>#!/sbin/openrc-run ># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >: "${DOCKERD_BINARY:=/usr/bin/dockerd}" >: "${DOCKER_LOGFILE:=/var/log/${RC_SVCNAME}.log}" >: "${DOCKER_ERRFILE:=${DOCKER_LOGFILE}}" >: "${DOCKER_OUTFILE:=${DOCKER_LOGFILE}}" >: "${DOCKER_PIDFILE:=/run/${RC_SVCNAME}.pid}" >: "${DOCKER_RETRY:=TERM/60/KILL/10}" >: "${DOCKER_ULIMIT:=-c unlimited -n 1048576 -u unlimited}" > >extra_started_commands="reload" > >start_pre() { > checkpath -f -m 0644 -o root:docker "$DOCKER_LOGFILE" >} > >start() { > export DOCKER_ULIMIT > set -- "${DOCKERD_BINARY}" -p "${DOCKER_PIDFILE}" ${DOCKER_OPTS} > ebegin "Starting ${RV_SVCNAME}" > start-stop-daemon \ > --background \ > --stderr "${DOCKER_ERRFILE}" \ > --stdout "${DOCKER_OUTFILE}" \ > --pidfile "${DOCKER_PIDFILE}" \ > --retry "${DOCKER_RETRY}" \ > --exec /bin/bash -- -c 'ulimit ${DOCKER_ULIMIT} && exec "$@"' bash "$@" > eend $? >} > >reload() { > ebegin "Reloading ${RC_SVCNAME}" > start-stop-daemon --signal HUP --pidfile "${DOCKER_PIDFILE}" > eend $? "Failed to stop ${RC_SVCNAME}" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 763891
:
681301
|
681307