Skip to content

Commit

Permalink
restart.sh: Change to run by nohup
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Aug 10, 2017
1 parent 8da3096 commit 0b1c47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ YONA_DATA=/yona-data;export YONA_DATA

pid=`ps -ef | grep java | grep com.typesafe.play | awk '{print $2}'`
kill $pid
_JAVA_OPTIONS="-Xmx2048m -Xms1024m -Dyona.data=$YONA_DATA -DapplyEvolutions.default=true -Dhttp.port=$PORT" bin/yona
_JAVA_OPTIONS="-Xmx2048m -Xms1024m -Dyona.data=$YONA_DATA -DapplyEvolutions.default=true -Dhttp.port=$PORT" nohup bin/yona </dev/null >/dev/null 2>&1 &

0 comments on commit 0b1c47e

Please sign in to comment.