--- conn.sh
... | ... | @@ -1,1 +0,0 @@ |
1 | -java -cp ~/.ivy2/cache/com.h2database/h2/jars/h2-1.3.176.jar org.h2.tools.Shell -user "" -password "" -url "jdbc:h2:file:./yobi;CACHE_SIZE=131072;MODE=PostgreSQL;MVCC=FALSE;MV_STORE=FALSE" |
+++ restart.sh
... | ... | @@ -0,0 +1,10 @@ |
1 | +# | |
2 | +# User this restart shell just for example | |
3 | +# | |
4 | +PORT=9000 | |
5 | +YONA_HOME=/data/yona;export YONA_HOME | |
6 | +PLAY2_HOME=/home/doortts/apps/play2 | |
7 | + | |
8 | +pid=`fuser $PORT/tcp` | |
9 | +kill $pid | |
10 | +_JAVA_OPTIONS="-Xmx2048m -Xms1024m -Dyobi.home=$YONA_HOME -Dconfig.file=$YONA_HOME/conf/application.conf -Dlogger.file=$YONA_HOME/conf/application-logger.xml" $PLAY2_HOME/activator "start -DapplyEvolutions.default=true -Dhttp.port=$PORT" |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?