diff options
Diffstat (limited to 'media-sound/gnump3d/files/gnump3d.rc6')
-rw-r--r-- | media-sound/gnump3d/files/gnump3d.rc6 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/media-sound/gnump3d/files/gnump3d.rc6 b/media-sound/gnump3d/files/gnump3d.rc6 new file mode 100644 index 000000000000..3a77ff7cb236 --- /dev/null +++ b/media-sound/gnump3d/files/gnump3d.rc6 @@ -0,0 +1,19 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later + +depend() { + need net +} + +start() { + ebegin "Starting gnump3d" + start-stop-daemon --start --quiet --exec /usr/bin/mp3d -- --quiet & + eend $? +} + +stop() { + ebegin "Stopping gnump3d" + start-stop-daemon --stop --quiet --exec /usr/bin/mp3d + eend $? +} |