summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-06 03:15:17 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-06 03:15:17 +0000
commit622be75664d7dd27860ecb6c3529b980c0136cdb (patch)
tree1674577d45762253436f108fa4484f204f4adbd7 /net-im/jabberd
parentwe license under gpl2, not gpl2 or later (diff)
downloadgentoo-2-622be75664d7dd27860ecb6c3529b980c0136cdb.tar.gz
gentoo-2-622be75664d7dd27860ecb6c3529b980c0136cdb.tar.bz2
gentoo-2-622be75664d7dd27860ecb6c3529b980c0136cdb.zip
we license under gpl2, not gpl2 or later
Diffstat (limited to 'net-im/jabberd')
-rw-r--r--net-im/jabberd/files/jabber.rc6-r648
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 $?
}