]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: run cmon through crun, valgrind
authorSage Weil <sage@newdream.net>
Thu, 8 Jan 2009 20:25:39 +0000 (12:25 -0800)
committerSage Weil <sage@newdream.net>
Thu, 8 Jan 2009 20:26:48 +0000 (12:26 -0800)
src/vstart.sh

index 16274660eb6b2b5ac326dc4db04c3c7e36cf66e9..b9026f8be1d41d95b78a6d46d466dcb7c36b0737 100755 (executable)
@@ -146,8 +146,9 @@ if [ $start_mon -eq 1 ]; then
        # start monitors
        if [ $start_mon -ne 0 ]; then
                for f in `seq 0 $((CEPH_NUM_MON-1))`; do
-                       $CEPH_BIN/cmon $ARGS -d $CMON_ARGS mondata/mon$f
+                   $CEPH_BIN/crun $norestart $valgrind $CEPH_BIN/cmon $ARGS $CMON_ARGS mondata/mon$f &
                done
+               sleep 1
        fi
 
        if [ $new -eq 1 ]; then