Documentation

Contents
Contents
Contents
Contents
!
This documentation applies to a beta version of uberAgent (docs for the latest official release)

Config File Syntax

uberAgent’s configuration file supports several advanced syntax features.

ConfigBlockDefine

A ConfigBlockDefine stanza defines a configuration block that can be inserted anywhere in the configuration with a @ConfigBlockInsert directive.

Syntax:

[ConfigBlockDefine name=YOUR_BLOCK_NAME]

ConfigBlockInsert

A @ConfigBlockInsert directive inserts a previously defined configuration block.

Syntax:

@ConfigBlockInsert YOUR_BLOCK_NAME

ConfigInclude

A @ConfigInclude directive includes another configuration file. The other file is identified by name (without path) and must reside in the same directory as the configuration file including it.

Syntax:

@ConfigInclude FILE_NAME

PATH_REGEX

PATH_REGEX stands for a regex in which environment variables can be used. It is matched against a file system path.

Environment variables (enclosed in percent signs, e.g., %ProgramFiles%) are expanded first, regex matching happens second. Paths are specified as regular expressions. Backslashes must be escaped by prepending a second backslash. Matching is case-insensitive. Specifying only the file name without the full path works but is not recommended.

Leave a Reply

Your email address will not be published. Required fields are marked *