From lua.conf, 8 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. - <configuration name="lua.conf" description="LUA Configuration">
  2. - <settings>
  3. - <!--  
  4.     Specify local directories that will be searched for LUA modules
  5.     These entries will be pre-pended to the LUA_CPATH environment variable
  6.    
  7.   -->
  8. - <!--  <param name="module-directory" value="/usr/lib/lua/5.1/?.so"/>
  9.   -->
  10. - <!--  <param name="module-directory" value="/usr/local/lib/lua/5.1/?.so"/>
  11.   -->
  12. - <!--  
  13.     Specify local directories that will be searched for LUA scripts
  14.     These entries will be pre-pended to the LUA_PATH environment variable
  15.    
  16.   -->
  17. - <!--  <param name="script-directory" value="/usr/local/lua/?.lua"/>
  18.   -->
  19. - <!--  <param name="script-directory" value="$${base_dir}/scripts/?.lua"/>
  20.   -->
  21. - <!-- <param name="xml-handler-script" value="/dp.lua"/>
  22.   -->
  23. - <!-- <param name="xml-handler-bindings" value="dialplan"/>
  24.   -->
  25. - <!--  The following options identifies a lua script that is launched
  26.         at startup and may live forever in the background.
  27.         You can define multiple lines, one for each script you
  28.         need to run.
  29.    
  30.   -->
  31. - <!-- <param name="startup-script" value="startup_script_1.lua"/>
  32.   -->
  33. - <!-- <param name="startup-script" value="startup_script_2.lua"/>
  34.   -->
  35.   </settings>
  36.   </configuration>