aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bitlbee.xinetd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bitlbee.xinetd')
-rw-r--r--doc/bitlbee.xinetd24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/bitlbee.xinetd b/doc/bitlbee.xinetd
new file mode 100644
index 00000000..88d02013
--- /dev/null
+++ b/doc/bitlbee.xinetd
@@ -0,0 +1,24 @@
+## xinetd file for BitlBee. Please check this file before using it, the
+## user, port and/or binary location might be wrong.
+
+## This file assumes you have ircd somewhere in your /etc/services, if things
+## don't work, check that file first.
+service ircd
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+
+ ## You most likely want to change these two
+ user = nobody
+ server = /usr/local/sbin/bitlbee
+
+ ## You might want to limit access to localhost only:
+ # bind = 127.0.0.1
+
+ ## Thanks a lot to friedman@splode.com for telling us about the type
+ ## argument, so now this file can be used without having to edit
+ ## /etc/services too.
+ type = UNLISTED
+ port = 6667
+}