From fb65f6b6dfcf566d6475667b359504055b10a2e9 Mon Sep 17 00:00:00 2001 From: Hans Wurst Date: Tue, 11 Aug 2015 02:24:06 +0200 Subject: [PATCH] committing changes in /etc after emerge run Package changes: +net-im/bitlbee-3.2.2 --- conf.d/._cfg0000_bitlbee | 8 ++++++++ init.d/._cfg0000_bitlbee | 31 +++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 conf.d/._cfg0000_bitlbee create mode 100755 init.d/._cfg0000_bitlbee diff --git a/conf.d/._cfg0000_bitlbee b/conf.d/._cfg0000_bitlbee new file mode 100644 index 0000000..d581222 --- /dev/null +++ b/conf.d/._cfg0000_bitlbee @@ -0,0 +1,8 @@ +# Bitlbee options (see /usr/sbin/bitlbee -h) +BITLBEE_OPTS="-F" + +# By default, the bitlbee init script will attempt to stop +# all bitlbee-owned processes, including per-client forks. +# Setting this to "no" tells the init script to only +# stop the main bitlbee process. +BITLBEE_STOP_ALL="yes" diff --git a/init.d/._cfg0000_bitlbee b/init.d/._cfg0000_bitlbee new file mode 100755 index 0000000..f2c7984 --- /dev/null +++ b/init.d/._cfg0000_bitlbee @@ -0,0 +1,31 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or +# later +# $Id$ + +DAEMON=/usr/sbin/bitlbee +PIDFILE=/var/run/bitlbee/bitlbee.pid + +depend() { + need logger net +} + +start () { + ebegin "Starting bitlbee" + checkpath -d -m 0755 -o bitlbee:bitlbee $(dirname ${PIDFILE}) + start-stop-daemon --start --quiet \ + -u bitlbee:bitlbee --exec ${DAEMON} --pidfile ${PIDFILE} \ + -- -P ${PIDFILE} ${BITLBEE_OPTS} + eend $? +} + +stop() { + ebegin "Stopping bitlbee" + local pidfile= + yesno ${BITLBEE_STOP_ALL:-YES} || + pidfile="--pidfile ${PIDFILE}" + start-stop-daemon --stop --quiet ${pidfile} -u bitlbee:bitlbee + eend $? +} +