]>
git.proxmox.com Git - ceph.git/blob - ceph/src/mrgw.sh
5 script_root
=`dirname $0`
6 script_root
=`(cd $script_root;pwd)`
7 if [ -e CMakeCache.txt
]; then
9 elif [ -e $script_root/..
/build
/CMakeCache.txt
]; then
10 cd $script_root/..
/build
13 ceph_bin
=$script_root/bin
14 vstart_path
=`dirname $0`
16 [ "$#" -lt 2 ] && echo "usage: $0 <name> <port> [params...]" && exit 1
23 run_root
=$script_root/run
/$name
24 pidfile
=$run_root/out
/radosgw.
${port}.pid
25 asokfile
=$run_root/out
/radosgw.
${port}.asok
26 logfile
=$run_root/out
/radosgw.
${port}.log
28 $vstart_path/mstop.sh
$name radosgw
$port
30 $vstart_path/mrun
$name radosgw
--rgw-frontends="civetweb port=$port" --pid-file=$pidfile --admin-socket=$asokfile "$@" --log-file=$logfile