Skip to contentSkip to conversation

Add pidfile flag to store dockerd PID in /var/run/dockerd.pid

PATCH In review Ting Yu 2 participants 2 messages Nov 29, 2018 – Dec 4, 2018

lore
Share & tools
lore

Ting Yu

author
#0 lore raw

PATCH 1/1 Add pidfile flag to store dockerd PID in /var/run/dockerd.pid

---
 recipes-containers/docker/files/docker.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/docker/files/docker.init +1 -1
index 0aea8d0..b37ddc9 100644
@@ -28,7 +28,7 @@ exec="/usr/bin/$prog"
 pidfile="/var/run/$prog.pid"
 lockfile="/var/lock/subsys/$prog"
 logfile="/var/log/$prog"
-other_args="--registry-mirror=http://localhost:5000 --insecure-registry=http://localhost:5000 --raw-logs"
+other_args="--pidfile $pidfile --registry-mirror=http://localhost:5000 --insecure-registry=http://localhost:5000 --raw-logs"
 
 [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
 
Signature · 1 line
2.19.1
#1 lore raw

merged

Bruce

Quoted 29 lines · Ting Yu
---
 recipes-containers/docker/files/docker.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/docker/files/docker.init +0 -1
index 0aea8d0..b37ddc9 100644
@@ -28,7 +28,7 @@ exec="/usr/bin/$prog"
 pidfile="/var/run/$prog.pid"
 lockfile="/var/lock/subsys/$prog"
 logfile="/var/log/$prog"
-other_args="--registry-mirror=http://localhost:5000 --insecure-registry=

http://localhost:5000 --raw-logs"
+other_args="--pidfile $pidfile --registry-mirror=http://localhost:5000 --insecure-registry=http://localhost:5000 --raw-logs"

[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog

--
2.19.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II