added ebuild for palaver-0.6. also, use the same init.d script for all versions of palaver.
This commit is contained in:
parent
3ab0b559f5
commit
da11444a03
4 changed files with 58 additions and 3 deletions
|
@ -1,23 +0,0 @@
|
|||
#!/sbin/runscript
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use jabber-server
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Palaver MUC service"
|
||||
start-stop-daemon --start --pidfile /var/run/jabber/palaver.pid --chuid jabber:jabber \
|
||||
--exec /usr/bin/twistd -- -f /etc/jabber/palaver.tap -l /var/log/jabber/palaver.log \
|
||||
--pidfile /var/run/jabber/palaver.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Palaver MUC service"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/jabber/palaver.pid
|
||||
eend $?
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue