Skip to content

Instantly share code, notes, and snippets.

@yehudasa
Created January 17, 2019 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yehudasa/0007c10d056b1679cdbc65c0fec56ace to your computer and use it in GitHub Desktop.
Save yehudasa/0007c10d056b1679cdbc65c0fec56ace to your computer and use it in GitHub Desktop.
#!/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
#!/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