committing changes in /etc after emerge run
Package changes: +net-im/bitlbee-3.2.2
This commit is contained in:
parent
864f76e707
commit
fb65f6b6df
8
conf.d/._cfg0000_bitlbee
Normal file
8
conf.d/._cfg0000_bitlbee
Normal file
@ -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"
|
31
init.d/._cfg0000_bitlbee
Executable file
31
init.d/._cfg0000_bitlbee
Executable file
@ -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 $?
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user