aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-08 18:07:44 +0000
committerlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-08 18:07:44 +0000
commitc33785c95618bd699935e03eace89f8046d0e3e5 (patch)
treed2f5acef4d579293ee86b3374d291f766d1e077a /contrib
parent79710bc4217a1655ebb737688944bd4f13c23a6e (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@251309 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
-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 1742d5001..96c8e7b2f 100755
--- a/contrib/init.d/rc.debian.asterisk
+++ b/contrib/init.d/rc.debian.asterisk
@@ -74,7 +74,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