this should make it work.
This commit is contained in:
parent
3cc90e3a6b
commit
4ab6117ccc
4 changed files with 17 additions and 10 deletions
|
@ -1,2 +1,2 @@
|
|||
# location of the configuration file
|
||||
CONFIG=/etc/jabber/palaver.xml
|
||||
CONFIG=/etc/jabber/palaver.conf
|
||||
|
|
|
@ -10,9 +10,10 @@ depend() {
|
|||
|
||||
start() {
|
||||
ebegin "Starting Palaver MUC service"
|
||||
source ${CONFIG}
|
||||
start-stop-daemon --start --pidfile /var/run/jabber/palaver.pid -u jabber -g jabber \
|
||||
--exec /usr/bin/twistd -- -l /var/log/jabber/palaver.log --pidfile /var/run/jabber/palaver.pid \
|
||||
palaver -c ${CONFIG}
|
||||
--exec /usr/bin/twistd -- -l $LOG/palaver.log --pidfile /var/run/jabber/palaver.pid \
|
||||
palaver --jid=$JID --rhost=$RHOST --rport=$RPORT --secret=$SECRET --spool=$SPOOL
|
||||
eend $?
|
||||
}
|
||||
|
||||
|
|
6
net-im/palaver/files/palaver.conf
Normal file
6
net-im/palaver/files/palaver.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
JID=conference.example.com
|
||||
RHOST=localhost
|
||||
RPORT=5347
|
||||
SECRET=password
|
||||
SPOOL=/var/spool/jabber/
|
||||
LOG=/var/log/jabber/
|
Loading…
Add table
Add a link
Reference in a new issue