Bug#281524: running asterisk with realtime priority
Tzafrir Cohen
Tzafrir Cohen <tzafrir.cohen@xorcom.com>, 281524@bugs.debian.org
Tue, 16 Nov 2004 15:59:55 +0200
Package: asterisk
Version: 1:1.0.2-2.1
Severity: normal
I want to run asterisk with '-p' .
This requires changing the init.d script:
1. remove the option '--chuid' from stat-stop-daemon on 'start' . Asterisk
should be run as root and change to user asterisk on its own.
2. Appen in the end of that command:
-- -U $NAME -p
NAME is used in that script both as the user name to which asterisk
should change and as a label of the service name. This is somewhat
confusing.
(Asterisk 1.0.2-2.1 is loacally-built)
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-386
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8
Versions of packages asterisk depends on:
ii asterisk-sounds-main 1:1.0.2-2.1 Sound files for asterisk
ii libasound2 1.0.6-3 ALSA library
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii libedit2 2.9.cvs.20040827-1 BSD editline and history libraries
ii libexpat1 1.95.8-1 XML parsing C library - runtime li
ii libgcc1 1:3.4.2-2 GCC support library
ii libgsm1 1.0.10-13 Shared libraries for GSM speech co
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libopenh323-1.13.2 1.13.5.4-4 H.323 aka VoIP library
ii libpq3 7.4.6-2 Shared library libpq.so.3 for Post
ii libpri1 1.0.1-1 Primary Rate ISDN specification li
ii libpt-1.6.3 1.6.6.4-5 Portable Windows Library
ii libspeex1 1.0.rel.4-1 The Speex Speech Codec
ii libssl0.9.7 0.9.7d-5 SSL shared libraries
ii libtonezone1 1:1.0.2-1.2 tonezone library (runtime)
ii unixodbc 2.2.4-11 ODBC tools libraries
ii zlib1g 1:1.2.2-1 compression library - runtime
-- no debconf information