bin/sonews.sh
changeset 82 21f413541357
parent 32 3af4237e4a15
child 91 70286a6cf338
     1.1 --- a/bin/sonews.sh	Wed Jun 30 14:48:53 2010 +0200
     1.2 +++ b/bin/sonews.sh	Sun Oct 16 22:36:46 2011 +0200
     1.3 @@ -1,16 +1,22 @@
     1.4  #!/bin/bash
     1.5 +
     1.6 +JAVA_HOME="/usr/lib/jvm/java-6-openjdk";
     1.7 +NEWSROOT="/home/fiki/src/sonews-nntp/sonews-11-dev";
     1.8 +
     1.9  cd `dirname $0`/..
    1.10  NEWSROOT=`pwd`
    1.11 -CLASSPATH=$NEWSROOT/lib/sonews.jar:\
    1.12 -$NEWSROOT/lib/sonews-helpers.jar:\
    1.13 +CLASSPATH=$NEWSROOT/build/sonews.jar:\
    1.14 +$NEWSROOT/lib/commons-codec-1.5.jar:\
    1.15  $NEWSROOT/lib/mysql-connector-java.jar:\
    1.16 -$NEWSROOT/lib/glassfish-mail.jar:\
    1.17 -$NEWSROOT/lib/postgresql.jar
    1.18 +$NEWSROOT/lib/javax.mail.jar:\
    1.19 +$NEWSROOT/lib/postgresql-8.3-604.jdbc4.jar:\
    1.20 +$NEWSROOT/lib/mysql-connector-java-5.1.7-bin.jar
    1.21  
    1.22 -LOGFILE=/var/log/sonews.log
    1.23 -PIDFILE=/var/pid/sonews.pid
    1.24 +LOGFILE=var/log/sonews.log
    1.25 +PIDFILE=var/pid/sonews.pid
    1.26  ARGS=$@
    1.27  
    1.28 +
    1.29  MAINCLASS=org.sonews.Main
    1.30  JAVA=$JAVA_HOME/bin/java
    1.31