diff options
author | Jason Wever <weeve@gentoo.org> | 2003-09-10 00:50:04 +0000 |
---|---|---|
committer | Jason Wever <weeve@gentoo.org> | 2003-09-10 00:50:04 +0000 |
commit | 8c1ac4df7424c275fa82187018b9b1c37323ccec (patch) | |
tree | 62c396d1331e044911b2b006ca8820bde3f510d8 /net-im/bitlbee/files | |
parent | Added an init script for bitlbeed. (diff) | |
download | gentoo-2-8c1ac4df7424c275fa82187018b9b1c37323ccec.tar.gz gentoo-2-8c1ac4df7424c275fa82187018b9b1c37323ccec.tar.bz2 gentoo-2-8c1ac4df7424c275fa82187018b9b1c37323ccec.zip |
Added an init script for bitlbeed.
Diffstat (limited to 'net-im/bitlbee/files')
-rw-r--r-- | net-im/bitlbee/files/bitlbeed.confd | 13 | ||||
-rw-r--r-- | net-im/bitlbee/files/bitlbeed.init | 23 | ||||
-rw-r--r-- | net-im/bitlbee/files/digest-bitlbee-0.80-r1 | 1 |
3 files changed, 37 insertions, 0 deletions
diff --git a/net-im/bitlbee/files/bitlbeed.confd b/net-im/bitlbee/files/bitlbeed.confd new file mode 100644 index 000000000000..cb00d3b6ac89 --- /dev/null +++ b/net-im/bitlbee/files/bitlbeed.confd @@ -0,0 +1,13 @@ +# output from bitlbeed -h +# +# Usage: bitlbeed [-i <interface>] [-p <port>] [-n <num>] <command> <args...> +# A simple inetd-like daemon to have a program listening on a TCP socket without +# needing root access to the machine +# +# -i Specify the interface (by IP address) to listen on. +# (Default: 0.0.0.0 (any interface)) +# -p Port number to listen on. (Default: 6667) +# -n Maximum number of connections. (Default: 0 (unlimited)) +# -h This information +# +#BITLBEED_OPTS="" diff --git a/net-im/bitlbee/files/bitlbeed.init b/net-im/bitlbee/files/bitlbeed.init new file mode 100644 index 000000000000..0471d0bdf99f --- /dev/null +++ b/net-im/bitlbee/files/bitlbeed.init @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or +# later +# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/files/bitlbeed.init,v 1.1 2003/09/10 00:49:58 weeve Exp $ + + +depend() { + need logger net +} + +start () { + ebegin "Starting bitlbeed" + /usr/bin/bitlbeed ${BITLBEED_OPTIONS} /usr/sbin/bitlbee + eend $? "Failed to start bitlbeed" +} + +stop() { + ebegin "Stopping bitlbeed" + killall -9 bitlbeed &>/dev/null + eend $? "Failed to stop bitlbeed" +} + diff --git a/net-im/bitlbee/files/digest-bitlbee-0.80-r1 b/net-im/bitlbee/files/digest-bitlbee-0.80-r1 new file mode 100644 index 000000000000..84df83fac49a --- /dev/null +++ b/net-im/bitlbee/files/digest-bitlbee-0.80-r1 @@ -0,0 +1 @@ +MD5 96d947bef8c6c40c865beaeee59737eb bitlbee-0.80.tar.gz 351775 |