Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2008 23:04:12 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        freebsd-questions@freebsd.org
Subject:   rtprio + su - doesn't work
Message-ID:  <20080821230022.W3189@wojtek.tensor.gdynia.pl>

next in thread | raw e-mail | index | archive | help
i run such command

/usr/sbin/rtprio 31 /usr/bin/su centrala -c \
"/usr/local/bin/asterisk -C /centrala/etc/asterisk.conf"

tu run (at startup) asterisk PBX as user centrala with realtime priority.

asterisk is started, but without realtime priority.

how to do this right?

i run asterisk as user (not root), but this server is used to other 
things, so asterisk must have absolute priority over other things.
now i have to do this manually by searching for asterisk's PID and doing

rtprio 31 -PID

thanks




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080821230022.W3189>