1 |
caleb 09/04/19 18:16:35 |
2 |
|
3 |
Added: orbited.cfg orbited.init |
4 |
Log: |
5 |
Repoman didn't commit these files for some reason, trying again |
6 |
(Portage version: 2.1.6.11/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-misc/orbited/files/0.7.9/orbited.cfg |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/orbited/files/0.7.9/orbited.cfg?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/orbited/files/0.7.9/orbited.cfg?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: orbited.cfg |
15 |
=================================================================== |
16 |
# Example Orbited Configuration file |
17 |
|
18 |
[global] |
19 |
reactor=select |
20 |
# reactor=kqueue |
21 |
# reactor=epoll |
22 |
session.ping_interval = 40 |
23 |
session.ping_timeout = 30 |
24 |
# once the sockets are open, orbited will drop its privileges to this user. |
25 |
user=orbited |
26 |
|
27 |
[listen] |
28 |
http://:8000 |
29 |
#stomp://:61613 |
30 |
# uncomment to enable SSL on port 8043 using given .key and .crt files |
31 |
#https://:8043 |
32 |
# |
33 |
#[ssl] |
34 |
#key=orbited.key |
35 |
#crt=orbited.crt |
36 |
|
37 |
[static] |
38 |
|
39 |
[access] |
40 |
localhost:8000 -> irc.freenode.net:6667 |
41 |
* -> localhost:4747 |
42 |
#* -> localhost:61613 |
43 |
|
44 |
[logging] |
45 |
debug=STDERR,debug.log |
46 |
info=STDERR,info.log |
47 |
access=STDERR,info.log |
48 |
warn=STDERR,error.log |
49 |
error=STDERR,error.log |
50 |
|
51 |
#Don't enable debug by default |
52 |
enabled.default=info,access,warn,error |
53 |
|
54 |
# Turn debug on for the "Proxy" logger |
55 |
[loggers] |
56 |
#Proxy=debug,info,access,warn,error |
57 |
|
58 |
|
59 |
|
60 |
|
61 |
1.1 net-misc/orbited/files/0.7.9/orbited.init |
62 |
|
63 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/orbited/files/0.7.9/orbited.init?rev=1.1&view=markup |
64 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/orbited/files/0.7.9/orbited.init?rev=1.1&content-type=text/plain |
65 |
|
66 |
Index: orbited.init |
67 |
=================================================================== |
68 |
#!/sbin/runscript |
69 |
# Copyright 1999-2009 Gentoo Foundation |
70 |
# Distributed under the terms of the GNU General Public License v2 |
71 |
# $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 $ |
72 |
|
73 |
depend() { |
74 |
need net |
75 |
use dns |
76 |
} |
77 |
|
78 |
checkconfig() { |
79 |
if [ ! -f "/etc/orbited.cfg" ] ; then |
80 |
eerror "No /etc/orbited.cfg file exists!" |
81 |
fi |
82 |
} |
83 |
|
84 |
start() { |
85 |
checkconfig || return 1 |
86 |
ebegin "Starting orbited..." |
87 |
/usr/bin/orbited --config=/etc/orbited.cfg >/dev/null 2>&1 & |
88 |
pid=$! |
89 |
echo $pid > /var/run/orbited.pid |
90 |
eend $? |
91 |
} |
92 |
|
93 |
stop() { |
94 |
ebegin "Stopping orbited..." |
95 |
start-stop-daemon --stop --quiet --pidfile=/var/run/orbited.pid --retry 20 |
96 |
eend $? |
97 |
} |