Drone : Configuration Global
This page last changed on Jan 07, 2005 by gbevin.
Since Drone runs under the RIFE framework, all global settings of RIFE apply. The global configuration can be modified by editing config.xml.Below is an example configuration file: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE config SYSTEM "/dtd/config.dtd"> <config> <param name="DRONE_DATASOURCE">postgresql</param> <param name="MAX_SEARCH_RESULTS">20</param> <param name="LUCENE_DIR">/tmp/drone-lucene</param> </config> As you can see, Drone understands the following specific settings: DRONE_DATASOURCEYou have to enter the name of your datasource here. Since it's possible to declare several datasources in the datasources.xml file, Drone has to know which one to use. MAX_SEARCH_RESULTSDrone is capable of searching logfiles by receiving commands through IRC. The results will be returned to the user as private messages. By entering a number here, you can setup how many results will be returned maximum. LUCENE_DIRYou have to enter the name of the directory where the search index of the logs will be created. This directory has to be writable by the user that runs the bot. It's recommended to configure the user permissions before putting your bot online. |
![]() |
Document generated by Confluence on Jan 07, 2005 13:31 |