blob: b094bb72d2bfdfca55e2a02ba90b7135e5ccde8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/files/gnump3d-2.6-initd,v 1.2 2004/03/04 18:50:29 vapier Exp $
depend() {
need net
}
start() {
ebegin "Starting gnump3d"
start-stop-daemon --start --quiet --make-pidfile \
--background --pidfile /var/run/gnump3d.pid \
--exec /usr/bin/gnump3d2 -- --quiet
eend $?
}
stop() {
ebegin "Stopping gnump3d"
start-stop-daemon --stop --quiet --pidfile /var/run/gnump3d.pid
eend $?
}
# Local Variables: ***
# mode: shell-script ***
# indent-tabs-mode: t ***
# tab-width: 4 ***
# End: ***
|