mirror of
https://github.com/ceph/ceph
synced 2025-01-10 13:10:46 +00:00
radosgw: make stop succeed when not running
This fixes apt-get errors like No /usr/bin/radosgw found running; none killed. invoke-rc.d: initscript radosgw, action "stop" failed. dpkg: warning: subprocess old pre-removal script returned error exit status 1 Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
c49c19c1e3
commit
4ae8f1c9e9
@ -65,7 +65,7 @@ case "$1" in
|
||||
$0 start
|
||||
;;
|
||||
stop)
|
||||
start-stop-daemon --stop -x $RADOSGW
|
||||
start-stop-daemon --stop -x $RADOSGW --oknodo
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 start|stop|restart" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user