* [gentoo-commits] gentoo-x86 commit in net-misc/orbited/files: orbited.init orbited.cfg
@ 2009-08-30 11:44 Caleb Tennis (caleb)
0 siblings, 0 replies; only message in thread
From: Caleb Tennis (caleb) @ 2009-08-30 11:44 UTC (permalink / raw
To: gentoo-commits
caleb 09/08/30 11:44:47
Added: orbited.init orbited.cfg
Log:
Version bump per #283204, and fix deps and location of config files
(Portage version: 2.1.6.13/cvs/Linux i686)
Revision Changes Path
1.1 net-misc/orbited/files/orbited.init
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/orbited/files/orbited.init?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/orbited/files/orbited.init?rev=1.1&content-type=text/plain
Index: orbited.init
===================================================================
#!/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/orbited.init,v 1.1 2009/08/30 11:44:46 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 $?
}
1.1 net-misc/orbited/files/orbited.cfg
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/orbited/files/orbited.cfg?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/orbited/files/orbited.cfg?rev=1.1&content-type=text/plain
Index: orbited.cfg
===================================================================
# 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-30 6:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-30 11:44 [gentoo-commits] gentoo-x86 commit in net-misc/orbited/files: orbited.init orbited.cfg Caleb Tennis (caleb)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox