speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with 6.5rc1


From: Halim Sahin
Subject: Problem with 6.5rc1
Date: Wed, 28 Nov 2007 13:53:54 +0100

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]