configuration - estol/org.server.estol.rexServer GitHub Wiki

This wiki page is a reference for the Remote Executor Server's configuration file. Unless otherwise specified, the application will read the configuration file in conf/server.conf


section: network

interface: the interface the server listens on.
Example: interface = internal

communication_port: the port on the interface, the program will send and recieve TCP packets from.
Example: communication_port = 5052

discovery: enables the broadcasting of UDP datagrams from the server, so the clients can "automagically" connect.
Example: discover = true

broadcast_port: the port the server will broadcast UDP datagrams. Ignored if discovery is false.
Example: broadcast_port = 4041


section: application

root: the root the application will start indexing.
Example: root = /storage

max_jobs: the maximum number of jobs allowed to run at the same time.
Example: max_jobs = 10

max_connections: the maximum number of connections allowed at the same time.
Example: max_connections = 15


section: log

logging: enables or disables logging. Rest of the options are ignored if set to false.
Example: logging = true

path: the path to the log file.
Example: path = logs/rex.log

max_size: sets the maximum size of the log file. Possible suffixes: M -> Megabyte ; K -> Kilobyte
Example: max_size = 1M

rotate: enables log rotation. If log rotation is enabled, the last N logs are kept, for backup purposes.
Example: rotate = true

back: defines how many log files should be kept by rotate. The value is ignored, and could be ommited if rotate is disabled.
Example: back = 5


section: database

type: the type of the database used by the application. Currently - 03. 03. 2014 -, this is ignored, and the application will fall back to nodb, which will store all data in a binary file. Possible values: nodb -> not a real database, but a binary file ; mysql -> a MySQL database ; derby -> an Apache Derby / JavaDB database.
Example: type = nodb

host: the network address of the database. Currently - 03. 03. 2014 -, this value is ignored, as no database is supported.
Example: host = localhost

port: the port of the database. Currently - 03. 03. 2014 -, this value is ignored, as no database is supported.
Example: port = 3306


section: debug

port: the port, the debug server will listen for a remote debug console. Only available if the server is started with --debug switch. The debug console is integrated into the client application, and only available in the client if it is started with --debug switch.
Example: port = 5075

⚠️ **GitHub.com Fallback** ⚠️