blob: 8f8b8a460227853d6989e77ffa491f78dcd1ac11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/runscript
# Copyright 1999-2003 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/gnump3d2 -- --background --quiet
eend $?
}
stop() {
ebegin "Stopping gnump3d"
start-stop-daemon --stop --quiet --pidfile /var/run/gnump3d.pid
eend $?
}
|