Skip comments in commands.list file.
3 CLASSPATH=$SCRIPTROOT/lib/sonews.jar:\
4 $SCRIPTROOT/lib/sonews-helpers.jar:\
5 $SCRIPTROOT/lib/mysql-connector-java.jar:\
6 $SCRIPTROOT/lib/glassfish-mail.jar:\
7 $SCRIPTROOT/lib/postgresql.jar
13 MAINCLASS=org.sonews.daemon.Main
18 echo "Starting sonews Newsserver..."
19 $JAVA -classpath $CLASSPATH $MAINCLASS $ARGS &> $LOGFILE &
23 echo "Stopping sonews Newsserver..."
28 $JAVA -classpath $CLASSPATH org.sonews.util.DatabaseSetup
31 $JAVA -classpath $CLASSPATH org.sonews.util.Purger
35 echo "Usage: sonews [start|stop|setup|purge]"