From: Abhishek Lekshmanan Date: Tue, 26 Aug 2014 10:16:55 +0000 (+0530) Subject: vstart: start rgw on port specified by env var X-Git-Tag: v0.86~212^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2327%2Fhead;p=ceph.git vstart: start rgw on port specified by env var This ensures that user specified option according to $CEPH_RGW_PORT is considered before starting radosgw Signed-off-by: Abhishek Lekshmanan --- diff --git a/src/vstart.sh b/src/vstart.sh index 9e0edf9c1db..ffd6b2053f7 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -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"