diff options
Diffstat (limited to 'media-sound/daudio/files/daudio.rc')
-rw-r--r-- | media-sound/daudio/files/daudio.rc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-sound/daudio/files/daudio.rc b/media-sound/daudio/files/daudio.rc new file mode 100644 index 000000000000..00523194a9b4 --- /dev/null +++ b/media-sound/daudio/files/daudio.rc @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + use net +} + +start() { + ebegin "Starting daudio" + start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/daudio.pid --exec /usr/bin/daudiod + eend $? +} + +stop() { + ebegin "Stopping daudio" + start-stop-daemon --stop --quiet --pidfile /var/run/daudio.pid + eend $? +} |