blob: dbfe77810de3d310d11b0fdae5fdc35e8b821d5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/files/festival.rc,v 1.5 2009/11/01 18:52:39 eva Exp $
depend() {
need net
use alsasound esound
}
start() {
ebegin "Starting festival"
start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/festival.pid \
--chuid festival --exec /usr/bin/festival -- --server -b /etc/festival/server.scm
eend $?
}
stop() {
ebegin "Stopping festival"
start-stop-daemon --stop --quiet --pidfile /var/run/festival.pid
eend $?
}
|