public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: martin nicolas <nicko.martin@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] asterisk_nice -5
Date: Sat, 6 Aug 2005 00:14:35 +0200	[thread overview]
Message-ID: <d6805aee05080515145dea1752@mail.gmail.com> (raw)
In-Reply-To: <1123277821.8237.24.camel@sysconcept.ca>

[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]

Hi.
There is a configuration file for this script in /etc/conf.d/ ? 
Maybe in this file there is a vrarible that specify the value of 
ASTERISK_NICE

On 8/5/05, Joseph <syscon@interbaun.com> wrote:
> 
> Can any body give am a helping hand how to modify asterisk startup
> script to start it with let say nice -5
> I think I'll need to modify something in the beginning in this section,
> but I don't exactly know how.
> 
> depend() {
> need net
> use zaptel
> }
> 
> start() {
> local OPTS USER GROUP
> 
> if [[ -n "${ASTERISK_NICE}" ]]; then
> if [[ ${ASTERISK_NICE} -ge -20 ]] && \
> [[ ${ASTERISK_NICE} -le 19 ]]; then
> OPTS="--nicelevel ${ASTERISK_NICE}"
> else
> eerror "Nice value must be between -20 and 19"
> fi
> 
> Asterisk run at the same nice level "0" as apache and when the fax comes
> in sometimes I get a lot of bad lines.
> So, adjusting nice level to -5 for asterisk might help.
> Asterisk intercept faxes and forwards it to a fax extension.
> 
> --
> #Joseph
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
Nicolas

[-- Attachment #2: Type: text/html, Size: 2367 bytes --]

  reply	other threads:[~2005-08-05 22:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-05 21:37 [gentoo-user] asterisk_nice -5 Joseph
2005-08-05 22:14 ` martin nicolas [this message]
2005-08-05 22:50   ` Joseph

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d6805aee05080515145dea1752@mail.gmail.com \
    --to=nicko.martin@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox