blob: fec0aadaf10b85d7837e642dfd3f93dc75550081 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/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 $?
}
|