Browse Source

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 10 years ago
parent
commit
3ea5a20776
1 changed files with 1 additions and 1 deletions
  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