Explorar el Código

Merge pull request #8094 from smerrill/feature/avoid-docker-start-woes

Try to avoid issues when the Docker daemon restarts or stops on RHEL/CentOS 6
Tianon Gravi hace 10 años
padre
commit
3ea5a20776
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      contrib/init/sysvinit-redhat/docker

+ 1 - 1
contrib/init/sysvinit-redhat/docker

@@ -68,7 +68,7 @@ start() {
 
 stop() {
     echo -n $"Stopping $prog: "
-    killproc -p $pidfile $prog
+    killproc -p $pidfile -d 300 $prog
     retval=$?
     echo
     [ $retval -eq 0 ] && rm -f $lockfile