Skip to content

Commit

Permalink
rgw: fix reload on non Debian systems.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
herver committed Nov 6, 2015
1 parent 2c968db commit 1b000ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init-radosgw
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1b000ab

Please sign in to comment.