Problem with 6.5rc1

Halim Sahin halim.sahin at t-online.de
Wed Nov 28 13:53:54 CET 2007


Hello Lars,
On Mi, Nov 28, 2007 at 01:37:43 +0100, Lars Bjørndal wrote:
> 
> Because of the audio problems I have discussed earlier, it's important
> to me to run SD as a speech-dispatcher user. However, I want to run it
> as a system service. I've created the user speech-dispatcher, and give "him"
> the owwnership of /var/run/speech-dispathcer and
> /var/lob/speech-dispatcher. 

Don't forget to add the speech-dispatcher user to group audio or you
can select audio as the primary group of user speech-dispatcher.

> Starting the script (see below) will start
> SD as the root user. How do you set the user to be speech-dispatcher?
> 
Under debian you can to this with start-stop-daemon.

Example:
DAEMON=/usr/bin/speech-dispatcher
PIDFILE=/var/run/speech-dispatcher/speech-dispatcher.pid
USER=speech-dispatcher
start-stop-daemon --start --quiet --chuid $USER --pidfile \
$PIDFILE --exec $DAEMON

HTH.
Halim


More information about the Speechd mailing list