moved everything into trunk/ subdirectory, as a preparation for the conversion to git
This commit is contained in:
parent
df41424518
commit
52d584b8fb
48 changed files with 0 additions and 0 deletions
24
trunk/net-im/palaver/files/palaver-initd
Normal file
24
trunk/net-im/palaver/files/palaver-initd
Normal file
|
@ -0,0 +1,24 @@
|
|||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 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"
|
||||
source ${CONFIG}
|
||||
start-stop-daemon --start --pidfile /var/run/jabber/palaver.pid -u jabber -g jabber \
|
||||
--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 $?
|
||||
}
|
||||
|
||||
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