From 9b360e5dde495e52210c309a54e333f932903136 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 2 Sep 2008 04:16:44 +0000 Subject: Initial commit. (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686) --- app-accessibility/espeakup/files/espeakup.rc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app-accessibility/espeakup/files/espeakup.rc (limited to 'app-accessibility/espeakup/files') diff --git a/app-accessibility/espeakup/files/espeakup.rc b/app-accessibility/espeakup/files/espeakup.rc new file mode 100644 index 000000000000..890c1eb289e6 --- /dev/null +++ b/app-accessibility/espeakup/files/espeakup.rc @@ -0,0 +1,24 @@ +#!/sbin/runscript + +depend() { + after modules + use alsasound pulseaudio +} + +start() { + ebegin "Starting espeakup" + start-stop-daemon --start --exec /usr/bin/espeakup + eend $? +} + +stop() { + ebegin "Stopping espeakup" + start-stop-daemon --stop --pidfile /var/run/espeakup.pid + eend $? +} + +restart() { + svc_stop || exit 1 + sleep 2 + svc_start || exit 1 +} -- cgit v1.2.3-65-gdbad