[packages/multipath-tools] - add waiting options for killproc in init script

adwol adwol at pld-linux.org
Wed Feb 17 18:53:23 CET 2016


commit 5437b2203ccfca2aab982c9117c7ea9d84e2eef5
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Wed Feb 17 18:52:22 2016 +0100

    - add waiting options for killproc in init script

 multipath-tools.spec | 2 +-
 multipathd.init      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/multipath-tools.spec b/multipath-tools.spec
index 1108a2f..7b97e28 100644
--- a/multipath-tools.spec
+++ b/multipath-tools.spec
@@ -6,7 +6,7 @@ Summary:	Tools to manage multipathed devices with the device-mapper
 Summary(pl.UTF-8):	Implementacja wielotrasowego dostępu do zasobów przy użyciu device-mappera
 Name:		multipath-tools
 Version:	0.5.0
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Base
 Source0:	http://christophe.varoqui.free.fr/multipath-tools/%{name}-%{version}.tar.bz2
diff --git a/multipathd.init b/multipathd.init
index ec51442..9a12ccf 100755
--- a/multipathd.init
+++ b/multipathd.init
@@ -36,7 +36,7 @@ stop() {
 
 	# Stop daemons.
 	msg_stopping "multipath daemon"
-	killproc --pidfile multipathd.pid multipathd -TERM
+	killproc --pidfile multipathd.pid --waitforname multipathd --waitfortime 300 multipathd -TERM
 	rm -f /var/lock/subsys/multipathd
 }
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/multipath-tools.git/commitdiff/5437b2203ccfca2aab982c9117c7ea9d84e2eef5



More information about the pld-cvs-commit mailing list