[Notice] Announcing the End of Demo Server [Read me]
doortts doortts 2017-07-30
restart.sh: Change to run by nohup
@0b1c47edaf8852f693a13961c9e44aa561021877
restart.sh
--- restart.sh
+++ restart.sh
@@ -7,4 +7,4 @@
 
 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 &
Add a comment
List