start_kuiper.sh 320 B

123456789101112131415
  1. #!/bin/bash
  2. ver=`git describe --tags --always`
  3. os=`uname -s | tr "[A-Z]" "[a-z]"`
  4. base_dir=_build/kuiper-"$ver"-"$os"-x86_64
  5. rm -rf $base_dir/data/*
  6. ls -l $base_dir/bin/server
  7. echo "starting kuiper at " $base_dir
  8. cd $base_dir/
  9. touch log/kuiper.out
  10. export BUILD_ID=dontKillMe
  11. nohup bin/server > log/kuiper.out 2>&1 &