瀏覽代碼

- removes the now unnecessary warning about the uid/ guid change if core
dumping is enabled. It also removes this change in the init scripts in the
debian and debian-sarge directories
- cleanup the configuration file.
It changes the loadmodule statements to use "mpath", this is much more
readable.
Change the C-style comment for debugging mode in the cfg to use bash
comments, this fix the debian init script. Therefore the debian patch files
to adjust the configuration are not more needed. In my opinion this is also a
meaningful change.
It also adds a short link to the documentation on the openser website.

Credits go to Henning Westerholt <[email protected]>


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@1676 689a6050-402a-0410-94f2-e92a70836424

Bogdan-Andrei Iancu 18 年之前
父節點
當前提交
3649b57edb
共有 1 個文件被更改,包括 21 次插入20 次删除
  1. 21 20
      etc/openser.cfg

+ 21 - 20
etc/openser.cfg

@@ -2,6 +2,8 @@
 # $Id$
 #
 # simple quick-start config script
+# Please refer to the Core CookBook at http://www.openser.org/dokuwiki/doku.php
+# for a explanation of possible statements, functions and parameters.
 #
 
 # ----------- global configuration parameters ------------------------
@@ -9,19 +11,15 @@
 debug=3            # debug level (cmd line: -dddddddddd)
 fork=yes
 log_stderror=no    # (cmd line: -E)
+children=4
 
-/* Uncomment these lines to enter debugging mode 
-fork=no
-log_stderror=yes
-*/
+# Uncomment these lines to enter debugging mode 
+#fork=no
+#log_stderror=yes
+#
 
-check_via=no	# (cmd. line: -v)
-dns=no          # (cmd. line: -r)
-rev_dns=no      # (cmd. line: -R)
 port=5060
-children=4
 
-#
 # uncomment the following lines for TLS support
 #disable_tls = 0
 #listen = tls:your_IP:5061
@@ -35,22 +33,25 @@ children=4
 
 # ------------------ module loading ----------------------------------
 
+#set module path
+mpath="/usr/local/lib/openser/modules/"
+
 # Uncomment this if you want to use SQL database
-#loadmodule "/usr/local/lib/openser/modules/mysql.so"
+#loadmodule "mysql.so"
 
-loadmodule "/usr/local/lib/openser/modules/sl.so"
-loadmodule "/usr/local/lib/openser/modules/tm.so"
-loadmodule "/usr/local/lib/openser/modules/rr.so"
-loadmodule "/usr/local/lib/openser/modules/maxfwd.so"
-loadmodule "/usr/local/lib/openser/modules/usrloc.so"
-loadmodule "/usr/local/lib/openser/modules/registrar.so"
-loadmodule "/usr/local/lib/openser/modules/textops.so"
-loadmodule "/usr/local/lib/openser/modules/mi_fifo.so"
+loadmodule "sl.so"
+loadmodule "tm.so"
+loadmodule "rr.so"
+loadmodule "maxfwd.so"
+loadmodule "usrloc.so"
+loadmodule "registrar.so"
+loadmodule "textops.so"
+loadmodule "mi_fifo.so"
 
 # Uncomment this if you want digest authentication
 # mysql.so must be loaded !
-#loadmodule "/usr/local/lib/openser/modules/auth.so"
-#loadmodule "/usr/local/lib/openser/modules/auth_db.so"
+#loadmodule "auth.so"
+#loadmodule "auth_db.so"
 
 # ----------------- setting module-specific parameters ---------------