From: Herve Rousseau Date: Fri, 6 Nov 2015 08:52:28 +0000 (+0100) Subject: rgw: fix reload on non Debian systems. X-Git-Tag: v10.0.1~50^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1b000abac3a02d1e788bf25eead4b6873133f5d2;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 --- diff --git a/src/init-radosgw b/src/init-radosgw index 76dc0086812b..f18a7610713d 100644 --- a/src/init-radosgw +++ b/src/init-radosgw @@ -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)