diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-06 03:10:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-06 03:10:25 +0000 |
commit | b6f6fa8a3988f0530f18e06723464afa842d1510 (patch) | |
tree | dd17a59062c06f87e8c4da9fa3ff3d2e074c486b /net-im/jabberd | |
parent | we license under gpl2, not gpl2 or later (diff) | |
download | historical-b6f6fa8a3988f0530f18e06723464afa842d1510.tar.gz historical-b6f6fa8a3988f0530f18e06723464afa842d1510.tar.bz2 historical-b6f6fa8a3988f0530f18e06723464afa842d1510.zip |
we license under gpl2, not gpl2 or later
Diffstat (limited to 'net-im/jabberd')
-rw-r--r-- | net-im/jabberd/files/jabber.rc6-r6 | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/net-im/jabberd/files/jabber.rc6-r6 b/net-im/jabberd/files/jabber.rc6-r6 index 5f1a597accce..18657a52b09a 100644 --- a/net-im/jabberd/files/jabber.rc6-r6 +++ b/net-im/jabberd/files/jabber.rc6-r6 @@ -1,45 +1,45 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/files/jabber.rc6-r6,v 1.1 2004/03/01 12:06:36 humpback Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/files/jabber.rc6-r6,v 1.2 2004/03/06 03:10:25 vapier Exp $ + depend() { - need net + need net } start() { - ebegin "Starting Jabber Server" + ebegin "Starting Jabber Server" - jabberd -B -c /etc/jabber/multiple.xml >/dev/null 2>&1 + 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 + if [ "$addon" != "/etc/jabber/multiple.xml" ]; then + jabberd -B -c $addon >/dev/null 2>&1 + fi fi done - - eend $? + eend $? } stop() { - ebegin "Stopping Jabber Server" + ebegin "Stopping Jabber Server" - killall jabberd - sleep 2 - if (( `ps -e | grep jabberd | wc -l`>0 )); then - killall -9 jabberd - fi + killall jabberd + sleep 2 + if (( `ps -e | grep jabberd | wc -l`>0 )); then + killall -9 jabberd + fi - if [ -e /etc/jabber/jit.xml ]; then - killall jit-wpjabber - sleep 2 - if (( `ps -e | grep jit-wpjabber | wc -l`>0 )); then - killall -9 jit-wpjabber - fi + if [ -e /etc/jabber/jit.xml ]; then + killall jit-wpjabber + sleep 2 + if (( `ps -e | grep jit-wpjabber | wc -l`>0 )); then + killall -9 jit-wpjabber fi + fi - eend $? + eend $? } |