THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
335B

  1. #!/bin/bash
  2. #
  3. # User this restart shell just for example
  4. #
  5. PORT=9000
  6. YONA_DATA=/yona-data;export YONA_DATA
  7. pid=`ps -ef | grep java | grep com.typesafe.play | awk '{print $2}'`
  8. kill $pid
  9. JAVA_OPTS="-Xmx2048m -Xms1024m -Dyona.data=$YONA_DATA -DapplyEvolutions.default=true -Dhttp.port=$PORT" nohup bin/yona </dev/null >/dev/null 2>&1 &