Next: , Up: Running the Adapter   [Contents]


3.1 Command Line

starter-configurable-adapter [OPTION...]
-h, --help

Print a short usage summary and exit.

-c, --config=FILE

Path to the adapter configuration file (required).

-P, --config-preprocessor=CMD

Shell command used to preprocess the config before parsing. {F} is replaced with the config path. An empty value disables preprocessing. Default may also come from STCA_CONFIG_PREPROCESSOR.

-p, --plugin-dir=DIR

Directory to scan for .so plugins. Falls back to STCA_PLUGIN_PATH, then the compile-time default install path ($(libdir)/starter/configurable-adapter/plugins).

--enable-http

Enable the optional HTTP/JSON API (also needs --http-port or XML http-listen-port).

--http-port=PORT

HTTP listen port (implies --enable-http).

-V, --version

Print the version string (with GPL notice) and exit.

Startup order: scan plugins → parse XML → start D-Bus server → optional HTTP → stca_plugin_start → g_main_loop_run.