add an extra argument to run() for rgw so that --redirect-output
sends stdout to rgw.{port}.stdout
Signed-off-by: Casey Bodley <cbodley@redhat.com>
for rgw in j k l m n o p q r s t u v; do
current_port=$((CEPH_RGW_PORT_NUM + i))
echo start rgw on http${CEPH_RGW_HTTPS}://localhost:${current_port}
- run 'rgw' $RGWSUDO $CEPH_BIN/radosgw -c $conf_fn --log-file=${CEPH_OUT_DIR}/radosgw.${current_port}.log --admin-socket=${CEPH_OUT_DIR}/radosgw.${current_port}.asok --pid-file=${CEPH_OUT_DIR}/radosgw.${current_port}.pid ${RGWDEBUG} -n client.rgw "--rgw_frontends=${rgw_frontend} port=${current_port}${CEPH_RGW_HTTPS}"
+ run 'rgw' $current_port $RGWSUDO $CEPH_BIN/radosgw -c $conf_fn --log-file=${CEPH_OUT_DIR}/radosgw.${current_port}.log --admin-socket=${CEPH_OUT_DIR}/radosgw.${current_port}.asok --pid-file=${CEPH_OUT_DIR}/radosgw.${current_port}.pid ${RGWDEBUG} -n client.rgw "--rgw_frontends=${rgw_frontend} port=${current_port}${CEPH_RGW_HTTPS}"
i=$(($i + 1))
[ $i -eq $CEPH_NUM_RGW ] && break
done