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)
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)