From: Herve Rousseau Date: Fri, 6 Nov 2015 08:52:28 +0000 (+0100) Subject: rgw: fix reload on non Debian systems. X-Git-Tag: v9.2.1~42^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F6650%2Fhead;p=ceph.git rgw: fix reload on non Debian systems. 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) --- 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)