now palaver shouldn't need mktap anymore ...
This commit is contained in:
parent
2b46f042cf
commit
4473410b1f
3 changed files with 5 additions and 11 deletions
2
net-im/palaver/files/palaver-confd
Normal file
2
net-im/palaver/files/palaver-confd
Normal file
|
@ -0,0 +1,2 @@
|
|||
# location of the configuration file
|
||||
CONFIG=/etc/jabber/palaver.xml
|
|
@ -11,8 +11,8 @@ depend() {
|
|||
start() {
|
||||
ebegin "Starting Palaver MUC service"
|
||||
start-stop-daemon --start --pidfile /var/run/jabber/palaver.pid -u jabber -g jabber \
|
||||
--exec /usr/bin/twistd -- -f /etc/jabber/palaver.tap -l /var/log/jabber/palaver.log \
|
||||
--pidfile /var/run/jabber/palaver.pid
|
||||
--exec /usr/bin/twistd -- -l /var/log/jabber/palaver.log --pidfile /var/run/jabber/palaver.pid \
|
||||
palaver -c ${CONFIG}
|
||||
eend $?
|
||||
}
|
||||
|
||||
|
|
|
@ -38,19 +38,11 @@ src_install() {
|
|||
"s:<spool>[^\<]*</spool>:<spool>/var/spool/jabber</spool>:" \
|
||||
/etc/jabber/${PN}.xml
|
||||
|
||||
# dosed \
|
||||
# "s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \
|
||||
# /etc/jabber/${PN}.xml
|
||||
|
||||
newinitd "${FILESDIR}/${PN}-initd" ${PN}
|
||||
# dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN}
|
||||
|
||||
newconfd "${FILESDIR}/${PN}-confd" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "A sample config file has been installed into /etc/jabber/${PN}.xml."
|
||||
einfo "Please adjust the settings as needed."
|
||||
einfo "After that, you MUST create a TAP-file for twisted in order to start Palaver, like this:"
|
||||
einfo "# cd /etc/jabber"
|
||||
einfo "# mktap palaver -c palaver.xml"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue