blob: 1c4582d536c0148f202aee1a5507d6ae4b2b19ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Id$
start() {
ebegin "Starting Bitten slave"
start-stop-daemon --start --user ${BITTEN_USER:-bitten} --group ${BITTEN_GROUP:-tracd} \
--pidfile /var/run/bitten.pid --make-pidfile --background \
--exec /usr/bin/bitten-slave -- \
${BITTEN_SERVER} -d ${BITTEN_TMPDIR:-/var/tmp/bitten} -l ${BITTEN_LOG:-/var/log/bitten.log} \
${BITTEN_OPTS}
eend $?
}
stop() {
ebegin "Stopping Bitten slave"
start-stop-daemon --stop --quiet --pidfile /var/run/bitten.pid
eend $?
}
|