Lycia is highly configurable, allowing for the creation of custom files. You can select locations for those files, and for these settings to be applied, you have to tell Lycia where to find them.
Use LYCIA_CONFIG_PATH in your system environment to specify the non-default path (or paths) to folders containing custom configuration files (for example, to the database.cfg file that specifies the configurations for database connection).
How to set LYCIA_CONFIG_PATH on Linux:
Step 1. Open your system configuration file in a text editor (for example, /etc/profile or ~/.bashrc).
Step 2. Set the value for LYCIA_CONFIG_PATH.
Configuration File Search Order: Lycia searches for the configuration files in the following order:
You can store the listener.xml file within the LYCIA_CONFIG_PATH folder, or you can specify its location separately using the LISTENERXML environment variable in your system environment.
Example for LISTENERXML on Linux:
Set LISTENERXML=/path/to/the/listener.xml in a system configuration file (for example, /etc/environment).
Note: After creating and filling your listener.xml file, or after any further changes to it, you need to restart the web server:
Start: sudo service qx-web start
Stop: sudo service qx-web stop
Restart: sudo service qx-web restart
For more on LYCIA_CONFIG_PATH configuration, refer to the LYCIA_CONFIG_PATH documentation page.
See next: 6. Provide the Compiler Configurations