mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
Merge pull request #4087 from ceph/wip-11159
init-radosgw*: don't require rgw_socket_path to be defined Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
e361066f78
@ -52,12 +52,6 @@ case "$1" in
|
||||
continue
|
||||
fi
|
||||
|
||||
# is the socket defined? if it's not, this instance shouldn't run as a daemon.
|
||||
rgw_socket=`$RADOSGW -n $name --show-config-value rgw_socket_path`
|
||||
if [ -z "$rgw_socket" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
# mapped to this host?
|
||||
host=`ceph-conf -n $name host`
|
||||
hostname=`hostname -s`
|
||||
|
@ -59,12 +59,6 @@ case "$1" in
|
||||
continue
|
||||
fi
|
||||
|
||||
# is the socket defined? if it's not, this instance shouldn't run as a daemon.
|
||||
rgw_socket=`$RADOSGW -n $name --show-config-value rgw_socket_path`
|
||||
if [ -z "$rgw_socket" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
# mapped to this host?
|
||||
host=`ceph-conf -n $name host`
|
||||
hostname=`hostname -s`
|
||||
|
Loading…
Reference in New Issue
Block a user