Command Line Options
Sockso has some extra command line options you can use to change the way it works. You pass these commands to Sockso by running it from the command line and with these options after the startup file (windows.bat or linux.sh)
--nogui
Disables the GUI, this can be used to run Sockso on a server. You will
be presented with a console to manage Sockso. Type help for a
full list of the commands.
--datadir
Tells Sockso where to store/look for all it's data. This can be used to to
make Sockso portable for instance, by setting the data directory to wherever
you want it to be. The (default) HSQLDB stores its data here, and cached cover
images too.
--upnp (EXPERIMENTAL)
Enable UPNP automatic port forwarding. On startup Sockso will try
to forward the correct port from your UPNP enabled router. This
requires the optionals package.
--logtype=(default|dev)
Sets the type of messages Sockso will output. "default" is the default and
just produces the usual information about what Sockso is doing. "dev" can
be used to provide much more detailed information.
--ip=(ip address)
Tell Sockso a fixed IP address to use (by default it'll try and work it
out itself).
--locale=(en|it|nb|de)
Here you can specify the language to use for the management interface (through
the web interface Sockso will pick the language according to that specified
by the users browser).
--query=(optional filename)
Specifies to run a query on the database and output the results as XML instead
of starting Sockso. You can specify a file to read the SQL from, or Sockso
will try to read the SQL from stdin.
--resourcestype=(file|jar)
This will tell Sockso whether to load it's resources from the jar file, or look
on the filesystem in the resources folder (default).
SSL
--ssl
Run Sockso using HTTPS instead of HTTP.
--sslKeystore=(filename)
Specifies the location of a keystore to use for SSL
--sslKeystorePassword=(password)
Specifies a password for the SSL keystore
Databases
--dbtype=(hsql|mysql|sqlite)
The type of database to use. The MySQL and SQLite database require the
optionals installed.
--dbhost=(DNS or IP)
The host for the database server
--dbuser=(username)
Database user
--dbpass=(password)
Database user's password
--dbname=(name)
Name of the database to use
--help
Prints out information about the command line options.
