]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: start rgw on port specified by env var 2327/head
authorAbhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Tue, 26 Aug 2014 10:16:55 +0000 (15:46 +0530)
committerAbhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Tue, 26 Aug 2014 10:18:48 +0000 (15:48 +0530)
This ensures that user specified option according to $CEPH_RGW_PORT is
considered before starting radosgw

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
src/vstart.sh

index 9e0edf9c1db9c57e25b6571cac9d7fba1e887c2a..ffd6b2053f79641b7965d192ea355c697e709355 100755 (executable)
@@ -340,7 +340,7 @@ if [ "$start_mon" -eq 1 ]; then
         osd pool default min size = 1
         osd pool default erasure code directory = .libs
         osd pool default erasure code profile = plugin=jerasure technique=reed_sol_van k=2 m=1 ruleset-failure-domain=osd
-        rgw frontends = fastcgi, civetweb port=8080
+        rgw frontends = fastcgi, civetweb port=$CEPH_RGW_PORT
         filestore fd cache size = 32
         run dir = $CEPH_OUT_DIR
 EOF
@@ -612,7 +612,7 @@ do_hitsets $hitset
 do_rgw()
 {
     # Start server
-       echo start rgw on http://localhost:8080
+    echo start rgw on http://localhost:$CEPH_RGW_PORT
     RGWDEBUG=""
     if [ "$debug" -ne 0 ]; then
         RGWDEBUG="--debug-rgw=20"