Add pidfile flag to store dockerd PID in /var/run/dockerd.pid
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
@@ -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
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@@ -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