git.schokokeks.org
Repositories
Help
Report an Issue
keks-overlay.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
8c4e5b8
Branches
Tags
master
keks-overlay.git
net-im
jabberd
files
jabber.rc6-r5
A keks * initial commit
Lars Strojny
commited
8c4e5b8
at 2006-12-17 11:28:02
jabber.rc6-r5
Blame
History
Raw
#!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/files/jabber.rc6-r5,v 1.4 2004/07/14 23:45:05 agriffis Exp $ depend() { need net } start() { ebegin "Starting Jabber Server" jabberd -B -c /etc/jabber/multiple.xml >/dev/null 2>&1 for addon in /etc/jabber/*.xml; do if [ "$addon" == "/etc/jabber/jit.xml" ]; then jit-wpjabber -d -c $addon >/dev/null 2>&1 else if [ "$addon" != "/etc/jabber/multiple.xml" ]; then jabberd -B -c $addon >/dev/null 2>&1 fi fi done eend $? } stop() { ebegin "Stopping Jabber Server" killall jabberd if [ "$addon" == "/etc/jabber/jit.xml" ]; then killall jit-wpjabber fi sleep 2 killall -9 jabberd if [ "$addon" == "/etc/jabber/jit.xml" ]; then killall -9 jit-wpjabber fi eend $? }