]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: make beast as the default frontend for rgw 26566/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 21 Feb 2019 14:35:55 +0000 (15:35 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 21 Feb 2019 15:03:04 +0000 (16:03 +0100)
mstart also features an overrideable $RGW_FRONTEND which defaults to beast

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

index 0525f19addc5cb609c5c20610de51d201696adae..7579f663beef0b74b43452f42b754a21d568fc5f 100755 (executable)
@@ -2,6 +2,7 @@
 
 set -e
 
+rgw_frontend=${RGW_FRONTEND:-"beast"}
 script_root=`dirname $0`
 script_root=`(cd $script_root;pwd)`
 if [ -e CMakeCache.txt ]; then
@@ -27,4 +28,4 @@ logfile=$run_root/out/radosgw.${port}.log
 
 $vstart_path/mstop.sh $name radosgw $port
 
-$vstart_path/mrun $name radosgw --rgw-frontends="civetweb port=$port" -n client.rgw --pid-file=$pidfile --admin-socket=$asokfile "$@" --log-file=$logfile
+$vstart_path/mrun $name radosgw --rgw-frontends="$rgw_frontend port=$port" -n client.rgw --pid-file=$pidfile --admin-socket=$asokfile "$@" --log-file=$logfile
index 8e9914dafc6094be398dbe275de25c3bbac28ac0..02977b5e3608880b30acea44de812458cd1c5415 100755 (executable)
@@ -128,7 +128,7 @@ if [ `uname` = FreeBSD ]; then
 else
     objectstore="bluestore"
 fi
-rgw_frontend="civetweb"
+rgw_frontend="beast"
 rgw_compression=""
 lockdep=${LOCKDEP:-1}
 spdk_enabled=0 #disable SPDK by default