summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/jabberd/files/jabber.rc6-r76
1 files changed, 3 insertions, 3 deletions
diff --git a/net-im/jabberd/files/jabber.rc6-r7 b/net-im/jabberd/files/jabber.rc6-r7
index 2fc8059a5e7c..d8a667ab38e4 100644
--- a/net-im/jabberd/files/jabber.rc6-r7
+++ b/net-im/jabberd/files/jabber.rc6-r7
@@ -1,7 +1,7 @@
#!/sbin/runscript
# 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-r7,v 1.2 2004/04/08 22:16:18 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/files/jabber.rc6-r7,v 1.3 2004/06/01 10:23:01 humpback Exp $
depend() {
need net
@@ -36,11 +36,11 @@ start() {
stop() {
ebegin "Stopping main Jabber Component"
- kill `/var/log/jabber/jabberd14.pid`
+ kill `cat /var/log/jabber/jabberd14.pid`
if [ "${JABBERD}" = "jabberd14" ]
then
sleep 2
- if ( -f /var/log/jabber/jabberd14.pid ); then
+ if [ -f /var/log/jabber/jabberd14.pid ]; then
kill -9 `cat /var/log/jabber/jabberd14.pid`
rm -f /var/log/jabber/jabberd14.pid
fi