All the OpenDAX modules to this point use Lua as a configuration language. A good bit of the configuration is built into the libdax library so that it will be consistent between modules.
Here is a list of some of the common configurations for any module...
Configuration File Name:
Command Line: -C <arg> or --configfile <arg>
Configuration File: It doesn't make a lot of sense to have this as a configuration option in the configuration file itself.
Default: $sysconfdir/modulename.conf
Local Socket Name:
Command Line: -S <arg> or --socket <arg>
Configuration File: socket = "socketname"
Default: /tmp/opendax
This socket name will have to match the one that we gave the server. If not then we won't be doing a whole lot of talking. Probably best to leave this alone unless there are multiple servers on one machine.
Server IP Address:
Command Line: -I <arg> or --ipaddress <arg>
Configuration File: ipaddress = "ddd.ddd.ddd.ddd"
Default: 127.0.0.1
Server TCP Port:
Command Line: -P <arg> or --tcpport <arg>
Configuration File: tcpport = dddd
Default: Whatever? 7777 right now just for grins, maybe we'll get an assignment someday.
Debugging Topics to Show:
Command Line: -L <arg> or --topic <arg>
Configuration File: debugtopic = DDDD | DDDD | DDDD | DDDD
Default: LOG_MAJOR
<<<TODO: List valid arguments here >>>
Module Name: