tu run (at startup) asterisk PBX as user centrala with realtime priority.
asterisk is started, but without realtime priority.
Yes, you'd be running the su process with realtime priority. :-)
and su forks shell and asterisk - isn't it?
how to do this right?
i run asterisk as user (not
Wojciech Puchar wrote:
/usr/sbin/rtprio 31 /usr/bin/su centrala -c \
/usr/local/bin/asterisk -C /centrala/etc/asterisk.conf
asterisk is started, but without realtime priority.
I'm not sure what's wrong, but it works fine for me:
# rtprio 31 su -m nobody -c 'id; /usr/sbin/rtprio'
I'm not sure what's wrong, but it works fine for me:
# rtprio 31 su -m nobody -c 'id; /usr/sbin/rtprio'
uid=65534(nobody) gid=65534(nobody) groups=65534(nobody)
rtprio: realtime priority 31
#
This is on 7-stable (a few months old, though).
i have 7 stable too. no idea :)
maybe asterisk have
On Aug 22, 2008, at 6:28 AM, Wojciech Puchar wrote:
tu run (at startup) asterisk PBX as user centrala with realtime
priority.
asterisk is started, but without realtime priority.
Yes, you'd be running the su process with realtime priority. :-)
and su forks shell and asterisk - isn't it?
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
On Aug 21, 2008, at 2:04 PM, Wojciech Puchar wrote:
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