[asterisk-commits] irroot: branch irroot/distrotech-customers-trunk r319004 - in /team/irroot/di...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat May 14 13:32:14 CDT 2011
Author: irroot
Date: Sat May 14 13:32:10 2011
New Revision: 319004
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=319004
Log:
Changes to safe_asterisk to work on distro
Modified:
team/irroot/distrotech-customers-trunk/ (props changed)
team/irroot/distrotech-customers-trunk/cel/cel_odbc.c (props changed)
team/irroot/distrotech-customers-trunk/configs/cel_odbc.conf.sample (props changed)
team/irroot/distrotech-customers-trunk/contrib/scripts/safe_asterisk
team/irroot/distrotech-customers-trunk/sounds/Makefile (props changed)
Propchange: team/irroot/distrotech-customers-trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat May 14 13:32:10 2011
@@ -1,2 +1,3 @@
/team/irroot/app_queue-trunk:318983-319002
+/team/irroot/distrotech-customers:318992
/team/irroot/t38gateway-trunk:318974-319002
Propchange: team/irroot/distrotech-customers-trunk/cel/cel_odbc.c
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat May 14 13:32:10 2011
@@ -1,3 +1,4 @@
/be/branches/C.3/cel/cel_adaptive_odbc.c:256426
/team/irroot/app_queue-trunk/cel/cel_odbc.c:318983-319002
+/team/irroot/distrotech-customers/cel/cel_odbc.c:318992
/team/irroot/t38gateway-trunk/cel/cel_odbc.c:318974-319002
Propchange: team/irroot/distrotech-customers-trunk/configs/cel_odbc.conf.sample
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat May 14 13:32:10 2011
@@ -1,3 +1,4 @@
/be/branches/C.3/configs/cel_adaptive_odbc.conf.sample:256426
/team/irroot/app_queue-trunk/configs/cel_odbc.conf.sample:318983-319002
+/team/irroot/distrotech-customers/configs/cel_odbc.conf.sample:318992
/team/irroot/t38gateway-trunk/configs/cel_odbc.conf.sample:318974-319002
Modified: team/irroot/distrotech-customers-trunk/contrib/scripts/safe_asterisk
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-trunk/contrib/scripts/safe_asterisk?view=diff&rev=319004&r1=319003&r2=319004
==============================================================================
--- team/irroot/distrotech-customers-trunk/contrib/scripts/safe_asterisk (original)
+++ team/irroot/distrotech-customers-trunk/contrib/scripts/safe_asterisk Sat May 14 13:32:10 2011
@@ -6,14 +6,14 @@
ASTVARLOGDIR=__ASTERISK_LOG_DIR__
CLIARGS="$*" # Grab any args passed to safe_asterisk
-TTY=9 # TTY (if you want one) for Asterisk to run on
+#TTY=9 # TTY (if you want one) for Asterisk to run on
CONSOLE=yes # Whether or not you want a console
#NOTIFY=root at localhost.localdomain # Who to notify about crashes
#EXEC=/path/to/somescript # Run this command if Asterisk crashes
#LOGFILE=${ASTVARLOGDIR}/safe_asterisk.log # Where to place the normal logfile (disabled if blank)
#SYSLOG=local0 # Which syslog facility to use (disabled if blank)
MACHINE=`hostname` # To specify which machine has crashed when getting the mail
-DUMPDROP=/tmp
+DUMPDROP=/var/cores/asterisk
SLEEPSECS=4
ASTPIDFILE=${ASTVARRUNDIR}/asterisk.pid
@@ -22,7 +22,7 @@
KILLALLMPG123=1
# run asterisk with this priority
-PRIORITY=0
+PRIORITY=-19
# set system filemax on supported OSes if this variable is set
# SYSMAXFILES=262144
@@ -121,6 +121,9 @@
ASTARGS="${ASTARGS} -c"
fi
fi
+if [ ! -d ${DUMPDROP} ] && [ ! -e ${DUMPDROP} ];then
+ mkdir -p ${DUMPDROP}
+fi
if test ! -w "${DUMPDROP}" ; then
message "Cannot write to ${DUMPDROP}"
exit 1
Propchange: team/irroot/distrotech-customers-trunk/sounds/Makefile
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat May 14 13:32:10 2011
@@ -1,4 +1,5 @@
/be/branches/C.3/sounds/Makefile:256426
/team/irroot/app_queue-trunk/sounds/Makefile:318983-319002
+/team/irroot/distrotech-customers/sounds/Makefile:318992
/team/irroot/t38gateway-trunk/sounds/Makefile:318974-319002
/trunk/sounds/Makefile:270974
More information about the asterisk-commits
mailing list