diff -r 3af4237e4a15 -r c60625d58158 bin/sonews.sh --- a/bin/sonews.sh Wed Jun 30 14:48:53 2010 +0200 +++ b/bin/sonews.sh Mon Oct 17 18:14:34 2011 +0200 @@ -1,16 +1,22 @@ #!/bin/bash + +JAVA_HOME="/usr/lib/jvm/java-6-openjdk"; +NEWSROOT="/home/fiki/src/sonews-nntp/sonews-11-dev"; + cd `dirname $0`/.. NEWSROOT=`pwd` -CLASSPATH=$NEWSROOT/lib/sonews.jar:\ -$NEWSROOT/lib/sonews-helpers.jar:\ +CLASSPATH=$NEWSROOT/build/sonews.jar:\ +$NEWSROOT/lib/commons-codec-1.5.jar:\ $NEWSROOT/lib/mysql-connector-java.jar:\ -$NEWSROOT/lib/glassfish-mail.jar:\ -$NEWSROOT/lib/postgresql.jar +$NEWSROOT/lib/javax.mail.jar:\ +$NEWSROOT/lib/postgresql-8.3-604.jdbc4.jar:\ +$NEWSROOT/lib/mysql-connector-java-5.1.7-bin.jar -LOGFILE=/var/log/sonews.log -PIDFILE=/var/pid/sonews.pid +LOGFILE=var/log/sonews.log +PIDFILE=var/pid/sonews.pid ARGS=$@ + MAINCLASS=org.sonews.Main JAVA=$JAVA_HOME/bin/java