Created
January 17, 2019 01:21
-
-
Save yehudasa/0007c10d056b1679cdbc65c0fec56ace to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ulimit -c unlimited | |
export EXTRA_CFG="" | |
ZONE_CFG="" | |
if [ "$3" != "" ]; then | |
ZONE_CFG="--rgw-zone=$3" | |
fi | |
if [ "$1" == "" ]; then | |
bin/radosgw --debug-ms=1 --debug-rgw=20 --rgw-frontends="civetweb port=8000" --log-file=out/radosgw.log $EXTRA_CFG | |
else | |
echo ../src/mrgw.sh $1 $2 radosgw $ZONE_CFG --debug-ms=1 --debug-rgw=20 $EXTRA_CFG | |
../src/mrgw.sh $1 $2 radosgw $ZONE_CFG --debug-ms=1 --debug-rgw=20 $EXTRA_CFG | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ulimit -c unlimited | |
export EXTRA_CFG="--rgw-dns-s3website-name=rex002" | |
ZONE_CFG="" | |
if [ "$3" != "" ]; then | |
ZONE_CFG="--rgw-zone=$3" | |
fi | |
if [ "$1" == "" ]; then | |
bin/radosgw --debug-ms=1 --debug-rgw=20 --rgw-frontends="civetweb port=8000" --log-file=out/radosgw.log $EXTRA_CFG | |
else | |
echo ../src/mrgw.sh $1 $2 radosgw $ZONE_CFG --debug-ms=1 --debug-rgw=20 $EXTRA_CFG | |
../src/mrgw.sh $1 $2 radosgw $ZONE_CFG --debug-ms=1 --debug-rgw=20 $EXTRA_CFG | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment