Drupal: XHTML XSL – odstranění přebytečných mezer (oprava).
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/saxon.jar:\
13 $NEWSROOT/lib/postgresql-8.3-604.jdbc4.jar:\
14 $NEWSROOT/lib/mysql-connector-java-5.1.7-bin.jar
16 JAVA_OPTIONS="-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl";
18 LOGFILE=var/log/sonews.log
19 PIDFILE=var/pid/sonews.pid
23 MAINCLASS=org.sonews.Main
24 JAVA=$JAVA_HOME/bin/java
28 echo "Starting sonews Newsserver..."
29 $JAVA $JAVA_OPTIONS -classpath $CLASSPATH $MAINCLASS $ARGS &> $LOGFILE &
33 echo "Stopping sonews Newsserver..."
38 $JAVA -classpath $CLASSPATH org.sonews.util.DatabaseSetup
41 $JAVA -classpath $CLASSPATH org.sonews.util.Purger
45 echo "Usage: sonews [start|stop|setup|purge]"