You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
642 B

#!/sbin/runscript
# 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 $?
}