浏览代码

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 11 年之前
父节点
当前提交
3ea5a20776
共有 1 个文件被更改,包括 1 次插入1 次删除
  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