You are viewing a plain text version of this content. The canonical link for it is here.
Posted to watchdog-dev@jakarta.apache.org by va...@locus.apache.org on 2000/03/03 23:09:59 UTC
cvs commit: jakarta-watchdog/src/bin watchdog.sh
vanitha 00/03/03 14:09:59
Modified: src/bin watchdog.sh
Log:
Fixed the PORT and HOST options
Revision Changes Path
1.5 +3 -3 jakarta-watchdog/src/bin/watchdog.sh
Index: watchdog.sh
===================================================================
RCS file: /home/cvs/jakarta-watchdog/src/bin/watchdog.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- watchdog.sh 2000/03/02 23:32:15 1.4
+++ watchdog.sh 2000/03/03 22:09:59 1.5
@@ -13,10 +13,10 @@
default=$1
if [ "$2" != "" ] ; then
- PORT=$2
+ HOST=$2
fi
if [ "$3" != "" ] ; then
- HOST=$3
+ PORT=$3
fi
if [ -f $HOME/.watchdogrc ] ; then
@@ -78,7 +78,7 @@
fi
if [ "${default}" = servlet -o "${default}" = all ] ; then
- java org.apache.tools.ant.Main -Dport=${PORT} -Dhost=${HOST}=\
+ java org.apache.tools.ant.Main -Dport=${PORT} -Dhost=${HOST} \
-Dwatchdog.home=${WATCHDOG_HOME} -f ${WATCHDOG_HOME}/conf/servlet.xml servlet-test
fi