start-cdq.sh 352 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. export app_path=/home/syjy/ipfcstV3/cdq
  3. export LANG="zh_CN.UTF-8"
  4. export LC_ALL="zh_CN.UTF-8"
  5. cd $app_path
  6. echo "Starting cdq"
  7. ulimit -n 65535
  8. if test -x $app_path/app
  9. then
  10. nohup $app_path/app > output.out 2>&1 &
  11. echo "cdq started, PID is $!" | sed -e "s/\b\(.\)/\u\1/g"
  12. else
  13. echo "can't find cdq server($app_path/app)"
  14. fi
  15. exit 0