summaryrefslogtreecommitdiff
path: root/contrib/init.d
diff options
context:
space:
mode:
authorLeif Madsen <leif@leifmadsen.com>2010-03-08 18:08:44 +0000
committerLeif Madsen <leif@leifmadsen.com>2010-03-08 18:08:44 +0000
commit3dda454199b5287e19558ab8b9c154f215428f2b (patch)
tree567365a853f78c90afa8dc540b2ea91f9f86dd13 /contrib/init.d
parentda6ba8e60e65bceea1ec284e93c18108d5e6ff03 (diff)
Merged revisions 251309 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r251309 | lmadsen | 2010-03-08 12:07:44 -0600 (Mon, 08 Mar 2010) | 13 lines 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 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@251310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib/init.d')
-rwxr-xr-xcontrib/init.d/rc.debian.asterisk2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk
index e16d61c33..1a391ab04 100755
--- a/contrib/init.d/rc.debian.asterisk
+++ b/contrib/init.d/rc.debian.asterisk
@@ -111,7 +111,7 @@ case "$1" in
# "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