[Users] mpath - new config parameter

Daniel-Constantin Mierla daniel at voice-system.ro
Wed Jun 29 20:17:24 CEST 2005


Hello,

there is a new global parameter that can be used in config file: 
'mpath'. The parameter specify the path from where to look for modules. 
The value will be prefixed to the parameter of any loadmodule when this 
is not absolute. For example:

loadmodule "/usr/loca/lib/openser/modules/textops.so"
loadmodule "/usr/loca/lib/openser/modules/xlog.so"

is the same now with:

mpath="/usr/loca/lib/openser/modules"
loadmodule "textops.so"
loadmodule "xlog.so"

or with:

mpath="/usr/loca/lib/openser"
loadmodule "modules/textops.so"
loadmodule "modules/xlog.so"

This will ease the migration of the config when dealing with many 
instances installed with different prefixes.

Cheers,
Daniel






More information about the Users mailing list