helpers/usage
author cli
Sun, 09 May 2010 12:38:46 +0200
changeset 30 146b3275b792
parent 21 4b2c8bedb094
permissions -rw-r--r--
The StorageBackendException is catched two times so that the user see the "500 internal server error" only at the second catch (probably fixes #5).
chris@1
     1
java -jar sonews.jar [arguments]
chris@1
     2
        where arguments:
cli@21
     3
   -c|-config <config file>    If custom config file preferred
cli@21
     4
   -dumpjdbcdriver             Prints out a list of available JDBC drivers
cli@21
     5
   -feed                       Enables feed daemon for pulling/pushing news
cli@21
     6
                                from/to peer servers
cli@21
     7
   -h|-help                    This output
cli@21
     8
   -mlgw                       Enables the Mailinglist Gateway poller
cli@21
     9
   -p <port>                   Forces sonews to listen on the specified port
cli@21
    10
   -plugin <name|class|file>   Loads the given plugin.
cli@21
    11
   -plugin-command <class>     Loads the given class on startup as NNTP command
cli@21
    12
                                handler. Can be specified multiple times. The
cli@21
    13
                                class must be found in the JVMs classpath.
cli@21
    14
   -plugin-storage <class>     Loads the given StorageProvider class. The class
cli@21
    15
                                must be found in the JVMs classpath.
cli@21
    16
   -v|-version                 Prints out the version info an exits.