[asterisk-commits] lmadsen: branch 1.4 r251309 - /branches/1.4/contrib/init.d/rc.debian.asterisk

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 8 12:07:59 CST 2010


Author: lmadsen
Date: Mon Mar  8 12:07:44 2010
New Revision: 251309

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=251309
Log:
Fix Debian init script to not use -c.
When using the init script as-is currently, it could cause issues on Debian
such as high CPU usage. This fix has worked for several people so I'm
implementing the change.


(closes issue #16784)
Reported by: pabelanger
Tested by: pabelanger, mnick, davidw, mutineer612

(closes issue #16887)
Reported by: jlpedrosa
Tested by: jlpedrosa, mutineer612

Modified:
    branches/1.4/contrib/init.d/rc.debian.asterisk

Modified: branches/1.4/contrib/init.d/rc.debian.asterisk
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/contrib/init.d/rc.debian.asterisk?view=diff&rev=251309&r1=251308&r2=251309
==============================================================================
--- branches/1.4/contrib/init.d/rc.debian.asterisk (original)
+++ branches/1.4/contrib/init.d/rc.debian.asterisk Mon Mar  8 12:07:44 2010
@@ -74,7 +74,7 @@
 	# "start-stop-daemon --oknodo" returns 0 even if Asterisk was already running (as LSB expects):
 	if test "x$COLOR" = "xyes" ; then
 		export TERM=linux
-		start-stop-daemon --start --oknodo --background --exec $DAEMON -- $ASTARGS -c
+		start-stop-daemon --start --oknodo --background --exec $DAEMON -- $ASTARGS
 	else
 		start-stop-daemon --start --oknodo --exec $DAEMON -- $ASTARGS
 	fi




More information about the asterisk-commits mailing list