[Pkg-voip-commits] r4142 - asterisk/branches/experimental/debian

paravoid at alioth.debian.org paravoid at alioth.debian.org
Sun Aug 19 19:03:00 UTC 2007


Author: paravoid
Date: 2007-08-19 19:03:00 +0000 (Sun, 19 Aug 2007)
New Revision: 4142

Modified:
   asterisk/branches/experimental/debian/asterisk.default
   asterisk/branches/experimental/debian/asterisk.init
Log:
Merge r4136 from trunk

Modified: asterisk/branches/experimental/debian/asterisk.default
===================================================================
--- asterisk/branches/experimental/debian/asterisk.default	2007-08-19 19:02:24 UTC (rev 4141)
+++ asterisk/branches/experimental/debian/asterisk.default	2007-08-19 19:03:00 UTC (rev 4142)
@@ -32,4 +32,33 @@
 #               working directory will be set to /var/spool/asterisk, as that
 #               directory is writable and hence core files can be written there.
 #               See /etc/init.d/asterisk for some other relevant variables.
+#
+#               It is recommended that you install asterisk-dbg to be able
+#               to produce meaningful backtraces from the core file.
+#
+#               By default core files will be written to /tmp (can be 
+#               changed by setting AST_DUMPCORE_DIR). Alternatively, see 
+#               CORE_PATTERN below.
 #AST_DUMPCORE=yes
+#
+# DUMPCORE_DIR: By default asterisk runs in the directory '/' like any 
+#               daemon. Setting this allows you to tell it to tell the 
+#               Asterisk daemon to run in a different directory if 
+#               AST_DUMPCORE is enabled. The default is /tmp and is 
+#               probably a sane one.
+#
+# CORE_PATTERN: If you use AST_DUMPCORE above, this is optionally set to a 
+#               pattern of the core file. The default is not to touch the 
+#               core_pattern settings, which is generally a good idea as 
+#               it affects every core file generated on your system.
+#
+#               However if you just enable generation of core files and run 
+#               asterisk as a daemon it will fail to write core files.
+#
+#               Alternatively you can set this independently elsewhere.
+#               See http://lxr.linux.no/source/Documentation/sysctl/kernel.txt
+#               Here is what Asterisk's ast_grab_core
+#               script would expect:
+#CORE_PATTERN='/tmp/core.%p'
+#               But you might prefer something like:
+#CORE_PATTERN='/tmp/core.%e.%t'

Modified: asterisk/branches/experimental/debian/asterisk.init
===================================================================
--- asterisk/branches/experimental/debian/asterisk.init	2007-08-19 19:02:24 UTC (rev 4141)
+++ asterisk/branches/experimental/debian/asterisk.init	2007-08-19 19:03:00 UTC (rev 4142)
@@ -49,6 +49,7 @@
 AST_REALTIME="yes"
 RUNASTERISK="yes"
 AST_DUMPCORE="no"
+AST_DUMPCORE_DIR="/tmp" # only used if AST_DUMPCORE != yes
 AST_DUMPCORE_DIR="/var/spool/asterisk"
 # core_pattern. See: http://lxr.linux.no/source/Documentation/sysctl/kernel.txt
 #CORE_PATTERN=




More information about the Pkg-voip-commits mailing list