Remove aggregated group stubs and fix #543.
3 CLASSPATH=/usr/share/java/sonews.jar:\
4 /usr/share/java/sonews-helpers.jar:\
5 /usr/share/java/mysql-connector-java.jar:\
6 /usr/share/java/glassfish-mail.jar:\
7 /usr/share/java/postgresql.jar
9 LOGFILE=/var/log/sonews.log
10 PIDFILE=/var/run/sonews.pid
11 ARGS="-mlgw -c /etc/sonews/sonews.conf -feed"
13 MAINCLASS=org.sonews.Main
18 echo "Starting sonews Newsserver..."
19 $JAVA -classpath $CLASSPATH $MAINCLASS $ARGS &> $LOGFILE &
24 echo "Stopping sonews Newsserver..."
27 while [ $STOPRES -le 0 ]
29 kill -15 $PID &> /dev/null
39 $JAVA -classpath $CLASSPATH org.sonews.util.DatabaseSetup
42 $JAVA -classpath $CLASSPATH org.sonews.util.Purger
45 $JAVA -classpath $CLASSPATH $MAINCLASS -version
48 echo "Usage: sonews [start|stop|restart|setup|purge]"