From fdb5dbd744a6cfa4f7497e3a98aed13ab8daf4d9 Mon Sep 17 00:00:00 2001 From: Herve Rousseau Date: Fri, 6 Nov 2015 09:52:28 +0100 Subject: [PATCH] rgw: fix reload on non Debian systems. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit When using reload in non-debian systems, /bin/sh's kill is used to send the HUP signal to the radosgw process. This kill version doesn't understand -SIGHUP as a valid signal, using -HUP does work. Fix: #13709 Backport: hammer Signed-off-by: Hervé Rousseau (cherry picked from commit 1b000abac3a02d1e788bf25eead4b6873133f5d2) --- src/init-radosgw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init-radosgw b/src/init-radosgw index b7569a0aecc38..d320231d9362d 100644 --- a/src/init-radosgw +++ b/src/init-radosgw @@ -114,7 +114,7 @@ case "$1" in if [ $DEBIAN -eq 1 ]; then start-stop-daemon --stop --signal HUP -x $RADOSGW --oknodo else - killproc $RADOSGW -SIGHUP + killproc $RADOSGW -HUP fi ;; restart|force-reload) -- 2.39.5