summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2004-02-02 21:40:45 +0000
committerGustavo Felisberto <humpback@gentoo.org>2004-02-02 21:40:45 +0000
commitb88a9875d66f716ebd9cca4274ae05e12eeb8102 (patch)
tree9b3b0846385ddf875d06f061d7e4b98e95ae048a
parenttidy old version (diff)
downloadgentoo-2-b88a9875d66f716ebd9cca4274ae05e12eeb8102.tar.gz
gentoo-2-b88a9875d66f716ebd9cca4274ae05e12eeb8102.tar.bz2
gentoo-2-b88a9875d66f716ebd9cca4274ae05e12eeb8102.zip
Updated the start/stop script
-rw-r--r--net-im/jabberd/ChangeLog5
-rw-r--r--net-im/jabberd/files/jabber.rc6-r510
2 files changed, 11 insertions, 4 deletions
diff --git a/net-im/jabberd/ChangeLog b/net-im/jabberd/ChangeLog
index e5817fd95de0..9e9ed89bbe1e 100644
--- a/net-im/jabberd/ChangeLog
+++ b/net-im/jabberd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-im/jabberd
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.5 2004/01/29 23:47:06 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.6 2004/02/02 21:40:45 humpback Exp $
+
+ 02 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>; files/jabber.rc6-r5:
+ Updated the start/stop script
29 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>;
jabberd-1.4.3-r1.ebuild, jabberd-1.4.3.ebuild:
diff --git a/net-im/jabberd/files/jabber.rc6-r5 b/net-im/jabberd/files/jabber.rc6-r5
index ae098761bd22..779f78960eaa 100644
--- a/net-im/jabberd/files/jabber.rc6-r5
+++ b/net-im/jabberd/files/jabber.rc6-r5
@@ -1,7 +1,7 @@
#!/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-r5,v 1.1 2004/01/12 00:04:44 rizzo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/files/jabber.rc6-r5,v 1.2 2004/02/02 21:40:45 humpback Exp $
depend() {
need net
}
@@ -27,9 +27,13 @@ start() {
stop() {
ebegin "Stopping Jabber Server"
killall jabberd
- if [ "$addon" == "/etc/jabber/jit.xml" ]; then
- killall jit-wpjabber
+ 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 $?
}