#!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /var/cvsroot/gentoo-x86/media-sound/mserv/files/mserv-0.35-initd,v 1.1 2004/03/11 08:23:42 eradicator Exp $ depend() { need net after apache after apache2 } start() { ebegin "Starting Mserv" start-stop-daemon --start -o -b --chuid mserv --exec /usr/bin/mserv -- \ -r /var/spool/mserv -c /etc/mserv/config -p ${PORT} eend $? } stop() { ebegin "Stopping Mserv" start-stop-daemon --stop -o -q --exec /usr/bin/mserv eend $? }