]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix reload on non Debian systems. 6482/head
authorHerve Rousseau <hroussea@cern.ch>
Fri, 6 Nov 2015 08:52:28 +0000 (09:52 +0100)
committerHerve Rousseau <hroussea@cern.ch>
Fri, 6 Nov 2015 08:52:28 +0000 (09:52 +0100)
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>
src/init-radosgw

index 76dc0086812b284ec106a87c5af5e61fa3cb2e50..f18a7610713d57adb30d901b16b818871a4bbcf3 100644 (file)
@@ -118,7 +118,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)