blob: 80918fe6eb32d8a4e046f6297175aab09a9031d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/openrc-run
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
depend() {
need net
}
start() {
ebegin "Starting nepenthes"
start-stop-daemon --start --quiet --background --exec /usr/sbin/nepenthes -- ${NEPENTHES_OPTS}
eend $?
}
stop() {
ebegin "Stopping nepenthes"
start-stop-daemon --stop --quiet --retry 5 --exec /usr/sbin/nepenthes
eend $?
}
|