blob: ce5266397db78b2995e212ccae301aa3f8561029 (
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
|
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
MINBIF_EXEC="/usr/bin/minbif"
depend() {
need logger net
}
start() {
ebegin "Starting minbif"
start-stop-daemon --start --startas ${MINBIF_EXEC} \
-c minbif:minbif --exec ${MINBIF_EXEC} -- \
/etc/minbif/minbif.conf
eend $?
}
stop() {
ebegin "Stopping minbif"
start-stop-daemon --stop --exec ${MINBIF_EXEC}
eend $?
}
|