diff --git a/init.d/mu-conference b/init.d/mu-conference new file mode 100755 index 0000000..20400ac --- /dev/null +++ b/init.d/mu-conference @@ -0,0 +1,25 @@ +#!/sbin/runscript + +depend() { + need net + use jabber-server +} + +start() { + ebegin "Starting MUC Jabber Transport" + start-stop-daemon \ + --background \ + --start \ + --user jabber:jabber \ + --exec /usr/bin/mu-conference \ + -- -c /etc/jabber/mu-conference.xml + eend $? +} + +stop() { + ebegin "Stoping MUC Jabber Transport" + start-stop-daemon \ + --stop \ + --pidfile /var/run/jabber/mu-conference.pid + eend $? +} diff --git a/jabber/mu-conference.xml b/jabber/mu-conference.xml new file mode 100644 index 0000000..8a2ce34 --- /dev/null +++ b/jabber/mu-conference.xml @@ -0,0 +1,61 @@ + + + + conference.localhost + conference.localhost + localhost + 5347 + secret + + /var/spool/jabber/mu-conference + /var/log/jabber + /var/run/jabber/mu-conference.pid + + + + 124 + + + + + + Public Chatrooms + This service is for public chatrooms. + http://foo.bar/ + + 40 + /var/log/jabber/mu-conference/ + + /etc/jabber/style.css + + + has become available + has left + is now known as + + + + admin@localhost + + + + + + + + + + diff --git a/jabber/style.css b/jabber/style.css new file mode 100644 index 0000000..ab1a8dc --- /dev/null +++ b/jabber/style.css @@ -0,0 +1,25 @@ +html { + background-color: #efefef; +} + +body { + margin: 20px 20px 20px 20px; + padding: 10px 10px 10px 10px; + border: 1px solid black; + background-color: #fffff2; + color: #464543; + font-family : Verdana, Arial, Helvetica, sans-serif; + font-size: 12pt; +} + +span.time { + color: #8b8986; +} +span.time a{ + color: #8b8986; + text-decoration: none; +} + +span.nick { + color: black; +}