On Linux/Unix systems, you can optionally use custom configuration files instead of the default zeusafm.conf and updater.conf file. You can even split your settings and have multiple configuration files in parallel.
To use a custom configuration file, set the following environment variables before starting Stingray Application Firewall or before starting the updater:
| ▪ | AOD_CONFIG_FILENAME for zeusafm.conf |
| ▪ | AOD_UPDATER_CONFIG_FILENAME for updater.conf |
Examples:
export AOD_CONFIG_FILENAME = /path/to/myconf.conf
export AOD_UPDATER_CONFIG_FILENAME = /path/to/myupconf.conf
Paths must be absolute (no relative paths). If the specified configuration file doesn’t exist, or if the script has no permission to read it, Stingray Application Firewall or the updater don’t start. If a value isn’t found in the specified file, its default setting is used.
Instead of using one single custom configuration file, you can even use multiple ones. This enables you to split or to cascade your settings. If identical configuration items are found in multiple files, the last processed one wins. Additional configuration files are always read after the global ones (that is after zeusafm.conf and updater.conf or after the ones specified by AOD_CONFIG_FILENAME and AOD_UPDATER_CONFIG_FILENAME).
To use additional custom configuration files, set the following environment variables:
| ▪ | AOD_CONFIG_FILENAME_* for zeusafm.conf |
| ▪ | AOD_UPDATER_CONFIG_FILENAME_* for updater.conf |
The files are processed in lexicographical order, that is numbers before letters and letters alphabetically.
Example:
export AOD_CONFIG_FILENAME_A = /path/to/myfile1.conf
export AOD_CONFIG_FILENAME_B = /path/to/myfile2.conf
export AOD_CONFIG_FILENAME_1 = /path/to/myfile3.conf
So, in this case, myfile3.conf are processed first, and then myfile1.conf and myfile2.conf. If a setting is specified in all three files, the setting of myfile2.conf is used because this is file that’s last processed.
|