summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2004-06-03 15:31:12 +0000
committerGustavo Felisberto <humpback@gentoo.org>2004-06-03 15:31:12 +0000
commit01d44c71d546b940f35ba2d03752a5fb362be35f (patch)
tree09c328266294af8cd221487997450d540b2fbc95 /net-im/jit/files
parentFix use invocation (diff)
downloadhistorical-01d44c71d546b940f35ba2d03752a5fb362be35f.tar.gz
historical-01d44c71d546b940f35ba2d03752a5fb362be35f.tar.bz2
historical-01d44c71d546b940f35ba2d03752a5fb362be35f.zip
Getting ready to close teh jabberd2 bug
Diffstat (limited to 'net-im/jit/files')
-rw-r--r--net-im/jit/files/jit-transport.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-im/jit/files/jit-transport.init b/net-im/jit/files/jit-transport.init
index 8c82c7bf5de9..79072a1fad3a 100644
--- a/net-im/jit/files/jit-transport.init
+++ b/net-im/jit/files/jit-transport.init
@@ -7,7 +7,7 @@ depend() {
start() {
ebegin "Starting ICQ Jabber Transport"
- /usr/sbin/jabberd -d -c /etc/jabber/jit.xml -H /var/spool/jabber >/dev/null 2>&1
+ /usr/sbin/jit-wpjabber -d -c /etc/jabber/jit.xml -H /var/spool/jabber >/dev/null 2>&1
eend $?
}
@@ -15,7 +15,7 @@ stop() {
ebegin "Stoping ICQ Jabber Transport"
kill `cat /var/log/jabber/jit.pid`
sleep 2
- if ( -f /var/log/jabber/jit.pid ); then
+ if [ -f /var/log/jabber/jit.pid ]; then
kill -9 `cat /var/log/jabber/jit.pid`
rm -f /var/log/jabber/jit.pid
fi