Drupal: textová část zpráv (text/plain), základní funkční verze (XSLT+Java).
3 JAVA_HOME="/usr/lib/jvm/java-6-openjdk";
4 NEWSROOT="/home/fiki/src/sonews-nntp/sonews-11-dev";
8 CLASSPATH=$NEWSROOT/build/sonews.jar:\
9 $NEWSROOT/lib/commons-codec-1.5.jar:\
10 $NEWSROOT/lib/mysql-connector-java.jar:\
11 $NEWSROOT/lib/javax.mail.jar:\
12 $NEWSROOT/lib/postgresql-8.3-604.jdbc4.jar:\
13 $NEWSROOT/lib/mysql-connector-java-5.1.7-bin.jar
15 LOGFILE=var/log/sonews.log
16 PIDFILE=var/pid/sonews.pid
20 MAINCLASS=org.sonews.Main
21 JAVA=$JAVA_HOME/bin/java
25 echo "Starting sonews Newsserver..."
26 $JAVA -classpath $CLASSPATH $MAINCLASS $ARGS &> $LOGFILE &
30 echo "Stopping sonews Newsserver..."
35 $JAVA -classpath $CLASSPATH org.sonews.util.DatabaseSetup
38 $JAVA -classpath $CLASSPATH org.sonews.util.Purger
42 echo "Usage: sonews [start|stop|setup|purge]"