Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r394 committed - Fixes for issue 57...

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r394 committed - Fixes for issue 57...


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r394 committed - Fixes for issue 57...
  • Date: Tue, 17 May 2011 11:23:53 +0000

Revision: 394
Author: jwzurawski
Date: Tue May 17 04:23:30 2011
Log: Fixes for issue 57

-jason


http://code.google.com/p/ndt/source/detail?r=394

Modified:
/trunk/conf/ndt
/trunk/conf/start.ndt

=======================================
--- /trunk/conf/ndt Tue Jun 30 09:17:48 2009
+++ /trunk/conf/ndt Tue May 17 04:23:30 2011
@@ -21,8 +21,8 @@

start ()
{
- # cnt=`ps auxw | grep web100srv | grep -v grep | wc -l`
- cnt=`ps auxw | grep ndtd | grep -v grep | wc -l`
+ # cnt=`ps auxw | grep $path/web100srv | grep -v grep | wc -l`
+ cnt=`ps auxw | grep $path/ndtd | grep -v grep | wc -l`
if [ $cnt = 0 ]
then
cd /usr/local/ndt/serverdata
@@ -42,7 +42,7 @@
echo
fi

- cnt=`ps auxw | grep fakewww | grep -v grep | wc -l`
+ cnt=`ps auxw | grep $path/fakewww | grep -v grep | wc -l`
if [ $cnt = 0 ]
then
echo -n "Starting fakewww:"
=======================================
--- /trunk/conf/start.ndt Thu Jul 15 10:54:20 2004
+++ /trunk/conf/start.ndt Tue May 17 04:23:30 2011
@@ -1,12 +1,13 @@
#! /bin/csh -f

-
-set cnt = `ps auxw | grep web100srv | grep -v grep | wc -l`
+path=/usr/local/sbin
+
+set cnt = `ps auxw | grep $path/web100srv | grep -v grep | wc -l`
if ($cnt == 0) then
- /usr/local/sbin/web100srv -a >& /dev/null &
+ $path/web100srv -a >& /dev/null &
endif

-set cnt = `ps auxw | grep fakewww | grep -v grep | wc -l`
+set cnt = `ps auxw | grep $path/fakewww | grep -v grep | wc -l`
if ($cnt == 0) then
- /usr/local/sbin/fakewww -l/var/log/fakewww.log >& /dev/null &
+ $path/fakewww -l/var/log/fakewww.log >& /dev/null &
endif


  • [ndt-dev] [ndt] r394 committed - Fixes for issue 57..., ndt, 05/17/2011

Archive powered by MHonArc 2.6.16.

Top of Page