Running Orion from command line

You can run the broker just typing the following command:

contextBroker

The broker will run in background by default, so you will need to stop it using signals.

You can use command line arguments, e.g. to specify the port in which Orion Context Broker listens, using the -port option:

contextBroker -port 5057

To know all the possible options, have a look at the command line options section.

Command line options

Command line options can be used directly (in the case of running from the command line) or indirectly through the different fields in /etc/sysconfig/contextBroker (in the case of running as a system service ) To obtain a list of available options, use:

contextBroker -u

To get more information (including default values), use:

contextBroker -U

The list of available options is the following: