From 9c7b63e122ed39b3e388f9c0a7886d2c01233e1d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 29 Feb 2012 09:23:22 -0800 Subject: [PATCH] init-radosgw: add 'reload' command to send SIGHUP Fixes: #2121 Signed-off-by: Sage Weil --- src/init-radosgw | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/init-radosgw b/src/init-radosgw index d09af22e5fbbd..ab0e4385e9659 100644 --- a/src/init-radosgw +++ b/src/init-radosgw @@ -67,7 +67,11 @@ case "$1" in start-stop-daemon --start -u $user -x $RADOSGW -- -n $name done ;; - restart|reload|force-reload) + reload) + echo "Reloading $name..." + start-stop-daemon --signal HUP -x $RADOSGW --oknodo + ;; + restart|force-reload) $0 stop $0 start ;; -- 2.39.5