diff options
author | Hoang Minh Thang <hoangminhthang@ktqd.org> | 2012-07-17 12:50:48 +0700 |
---|---|---|
committer | Hoang Minh Thang <hoangminhthang@ktqd.org> | 2012-07-17 12:51:03 +0700 |
commit | 6695d0b2725dfd8bf64660f64265a9d5fc566f7b (patch) | |
tree | d21226330197d97f9de3298bde984037b04a0b41 /app-accessibility/festival/files/festival.rc | |
parent | remove tucan (diff) | |
download | gentoo-vn-6695d0b2725dfd8bf64660f64265a9d5fc566f7b.tar.gz gentoo-vn-6695d0b2725dfd8bf64660f64265a9d5fc566f7b.tar.bz2 gentoo-vn-6695d0b2725dfd8bf64660f64265a9d5fc566f7b.zip |
add festival and festival-hts
Diffstat (limited to 'app-accessibility/festival/files/festival.rc')
-rw-r--r-- | app-accessibility/festival/files/festival.rc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-accessibility/festival/files/festival.rc b/app-accessibility/festival/files/festival.rc new file mode 100644 index 0000000..dbfe778 --- /dev/null +++ b/app-accessibility/festival/files/festival.rc @@ -0,0 +1,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 $? +} |