]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix reload on non Debian systems. 6650/head
authorHerve Rousseau <hroussea@cern.ch>
Fri, 6 Nov 2015 08:52:28 +0000 (09:52 +0100)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Thu, 19 Nov 2015 06:44:24 +0000 (12:14 +0530)
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 <hroussea@cern.ch>
(cherry picked from commit 1b000abac3a02d1e788bf25eead4b6873133f5d2)

src/init-radosgw

index b7569a0aecc38f960e6f65d4c2a20896f9cb647f..d320231d9362d45793d0b4e42c55ca4d172ed4f9 100644 (file)
@@ -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)