summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Yu <tyu@cisco.com>2018-11-29 12:14:01 -0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-12-04 18:15:11 -0500
commit5043d6263af3daa965e27bb027cdb5db00d0611b (patch)
treed891ad6b0ca95d221565d13628fffc55e3f5ec60
parent47dd312669562bc9467a98159105bb636f9652d3 (diff)
downloadmeta-virtualization-5043d6263af3daa965e27bb027cdb5db00d0611b.tar.gz
Add pidfile flag to store dockerd PID in /var/run/dockerd.pid
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-containers/docker/files/docker.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/docker/files/docker.init b/recipes-containers/docker/files/docker.init
index 0aea8d01..b37ddc95 100644
--- a/recipes-containers/docker/files/docker.init
+++ b/recipes-containers/docker/files/docker.init
@@ -28,7 +28,7 @@ exec="/usr/bin/$prog"
28pidfile="/var/run/$prog.pid" 28pidfile="/var/run/$prog.pid"
29lockfile="/var/lock/subsys/$prog" 29lockfile="/var/lock/subsys/$prog"
30logfile="/var/log/$prog" 30logfile="/var/log/$prog"
31other_args="--registry-mirror=http://localhost:5000 --insecure-registry=http://localhost:5000 --raw-logs" 31other_args="--pidfile $pidfile --registry-mirror=http://localhost:5000 --insecure-registry=http://localhost:5000 --raw-logs"
32 32
33[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog 33[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
34 34