You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/02/26 11:27:57 UTC
svn commit: r631163 - /lenya/zone/bin/nightly-docu.sh
Author: andreas
Date: Tue Feb 26 02:27:41 2008
New Revision: 631163
URL: http://svn.apache.org/viewvc?rev=631163&view=rev
Log:
Fixing directory name (lenya-docu -> lenya-trunk-docu), adding missing 'then' to if clause.
Modified:
lenya/zone/bin/nightly-docu.sh
Modified: lenya/zone/bin/nightly-docu.sh
URL: http://svn.apache.org/viewvc/lenya/zone/bin/nightly-docu.sh?rev=631163&r1=631162&r2=631163&view=diff
==============================================================================
--- lenya/zone/bin/nightly-docu.sh (original)
+++ lenya/zone/bin/nightly-docu.sh Tue Feb 26 02:27:41 2008
@@ -17,7 +17,7 @@
echo "starting date is " >> $logfile
date >> $logfile
-cd /export/home/lenya/src/lenya-docu
+cd /export/home/lenya/src/lenya-trunk-docu
#first, kill running Lenya instance
echo >> $logfile
@@ -25,6 +25,7 @@
pid_file=/export/home/lenya/bin/lenya-docu.pid
if test -f $pid_file
+then
DOCU_PID=`cat /export/home/lenya/bin/lenya-docu.pid`
ps -ef |grep lenya|grep $DOCU_PID|grep -v grep|awk '{print "kill -9 "$2}'|sh >> $logfile
rm $pid_file >> $logfile
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org