Try to avoid issues when the Docker daemon restarts or stops on RHEL/CentOS 6
@@ -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