summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-02-09 22:41:45 -0600
committerTim Harder <radhermit@gentoo.org>2019-02-09 22:46:03 -0600
commit73ccf4a6bbacf812ff1d4da6e5e7f30de7d67aa4 (patch)
treebd84debe701e845c692857ad89b4ccb9eefafe9d /net-im/bitlbee/files
parentapp-text/robodoc: remove old 4.99.36 (diff)
downloadgentoo-73ccf4a6bbacf812ff1d4da6e5e7f30de7d67aa4.tar.gz
gentoo-73ccf4a6bbacf812ff1d4da6e5e7f30de7d67aa4.tar.bz2
gentoo-73ccf4a6bbacf812ff1d4da6e5e7f30de7d67aa4.zip
net-im/bitlbee: version bump to 3.6
Also, simplify the init script. Bug: https://bugs.gentoo.org/631072 Closes: https://bugs.gentoo.org/640126 Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'net-im/bitlbee/files')
-rw-r--r--net-im/bitlbee/files/bitlbee.confd-r27
-rw-r--r--net-im/bitlbee/files/bitlbee.initd-r27
2 files changed, 14 insertions, 0 deletions
diff --git a/net-im/bitlbee/files/bitlbee.confd-r2 b/net-im/bitlbee/files/bitlbee.confd-r2
new file mode 100644
index 000000000000..afd24f857f2d
--- /dev/null
+++ b/net-im/bitlbee/files/bitlbee.confd-r2
@@ -0,0 +1,7 @@
+# Bitlbee options (see /usr/sbin/bitlbee -h)
+BITLBEE_OPTS=""
+
+# Specify the network services that correspond to "DaemonInterface" and
+# "ClientInterface" settings in bitlbee.conf. For example, if bound to 0.0.0.0,
+# this should be set to "net.lo" which provides the loopback interface.
+rc_need="net.lo"
diff --git a/net-im/bitlbee/files/bitlbee.initd-r2 b/net-im/bitlbee/files/bitlbee.initd-r2
new file mode 100644
index 000000000000..0b3b1a4911bc
--- /dev/null
+++ b/net-im/bitlbee/files/bitlbee.initd-r2
@@ -0,0 +1,7 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/sbin/bitlbee"
+pidfile="/run/${RC_SVCNAME}.pid"
+command_args="-D -P ${pidfile} -u bitlbee ${BITLBEE_OPTS}"