summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2009-04-19 18:16:35 +0000
committerCaleb Tennis <caleb@gentoo.org>2009-04-19 18:16:35 +0000
commitbed1395b48dd2edebabd36637f8cc5b3462d593c (patch)
treeb4cd4329d7fd6345d4aaccb75c67c43573aabab6 /net-misc/orbited/files
parentVersion bump, based on icedtea6-1.4.1-r1 from java-overlay. (diff)
downloadhistorical-bed1395b48dd2edebabd36637f8cc5b3462d593c.tar.gz
historical-bed1395b48dd2edebabd36637f8cc5b3462d593c.tar.bz2
historical-bed1395b48dd2edebabd36637f8cc5b3462d593c.zip
Repoman didn't commit these files for some reason, trying again
Package-Manager: portage-2.1.6.11/cvs/Linux i686
Diffstat (limited to 'net-misc/orbited/files')
-rw-r--r--net-misc/orbited/files/0.7.9/orbited.cfg42
-rw-r--r--net-misc/orbited/files/0.7.9/orbited.init31
2 files changed, 73 insertions, 0 deletions
diff --git a/net-misc/orbited/files/0.7.9/orbited.cfg b/net-misc/orbited/files/0.7.9/orbited.cfg
new file mode 100644
index 000000000000..5379c47999e0
--- /dev/null
+++ b/net-misc/orbited/files/0.7.9/orbited.cfg
@@ -0,0 +1,42 @@
+# Example Orbited Configuration file
+
+[global]
+reactor=select
+# reactor=kqueue
+# reactor=epoll
+session.ping_interval = 40
+session.ping_timeout = 30
+# once the sockets are open, orbited will drop its privileges to this user.
+user=orbited
+
+[listen]
+http://:8000
+#stomp://:61613
+# uncomment to enable SSL on port 8043 using given .key and .crt files
+#https://:8043
+#
+#[ssl]
+#key=orbited.key
+#crt=orbited.crt
+
+[static]
+
+[access]
+localhost:8000 -> irc.freenode.net:6667
+* -> localhost:4747
+#* -> localhost:61613
+
+[logging]
+debug=STDERR,debug.log
+info=STDERR,info.log
+access=STDERR,info.log
+warn=STDERR,error.log
+error=STDERR,error.log
+
+#Don't enable debug by default
+enabled.default=info,access,warn,error
+
+# Turn debug on for the "Proxy" logger
+[loggers]
+#Proxy=debug,info,access,warn,error
+
diff --git a/net-misc/orbited/files/0.7.9/orbited.init b/net-misc/orbited/files/0.7.9/orbited.init
new file mode 100644
index 000000000000..876de54f85db
--- /dev/null
+++ b/net-misc/orbited/files/0.7.9/orbited.init
@@ -0,0 +1,31 @@
+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/orbited/files/0.7.9/orbited.init,v 1.1 2009/04/19 18:16:35 caleb Exp $
+
+depend() {
+ need net
+ use dns
+}
+
+checkconfig() {
+ if [ ! -f "/etc/orbited.cfg" ] ; then
+ eerror "No /etc/orbited.cfg file exists!"
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting orbited..."
+ /usr/bin/orbited --config=/etc/orbited.cfg >/dev/null 2>&1 &
+ pid=$!
+ echo $pid > /var/run/orbited.pid
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping orbited..."
+ start-stop-daemon --stop --quiet --pidfile=/var/run/orbited.pid --retry 20
+ eend $?
+}
+