Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

svn commit: r370936 - in /lenya/zone/bin: lenya-for-forrest.sh nightly-bran: msg#00106

cms.lenya.cvs

Subject: svn commit: r370936 - in /lenya/zone/bin: lenya-for-forrest.sh nightly-branch.sh nightly-trunk.sh

Author: thorsten
Date: Fri Jan 20 16:16:41 2006
New Revision: 370936

URL: http://svn.apache.org/viewcvs?rev=370936&view=rev
Log:
Further enhancement of loging for all script that build instances of lenya

Modified:
lenya/zone/bin/lenya-for-forrest.sh
lenya/zone/bin/nightly-branch.sh
lenya/zone/bin/nightly-trunk.sh

Modified: lenya/zone/bin/lenya-for-forrest.sh
URL:
http://svn.apache.org/viewcvs/lenya/zone/bin/lenya-for-forrest.sh?rev=370936&r1=370935&r2=370936&view=diff
==============================================================================
--- lenya/zone/bin/lenya-for-forrest.sh (original)
+++ lenya/zone/bin/lenya-for-forrest.sh Fri Jan 20 16:16:41 2006
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
help()
{
cat <<HELP
@@ -16,7 +16,8 @@

HELP
}
-
+umask 0002
+logfile=/tmp/lenya.for.forrest.update.log
update=true
while [ -n "$1" ]; do
case $1 in
@@ -29,18 +30,17 @@
done
#first, kill running lenya instances
TRUNK_PID=`cat /export/home/lenya/bin/lenya-for-forrest.pid`
-ps -ef | grep lenya|grep $TRUNK_PID|grep -v grep|awk '{print "kill -9 "$2}'|sh
-rm /export/home/lenya/bin/lenya-for-forrest.pid
+ps -ef | grep lenya|grep $TRUNK_PID|grep -v grep|awk '{print "kill -9 "$2}'|sh
>> $logfile
+rm /export/home/lenya/bin/lenya-for-forrest.pid >> $logfile
#update trunk & restart
cd /export/home/lenya/src/lenya-1.4.x-forrest
if [ $update = true ]; then
- echo "#svn up"
- svn up
+ echo "#svn up" >> $logfile
+ svn up >> $logfile 2>&1
fi
-echo "#building"
-./build.sh clean
-./build.sh
-echo "#starting"
-./lenya.sh servlet 2>&1 &
+echo "#building" >> $logfile
+./build.sh >> $logfile 2>&1
+echo "#starting" >> $logfile
+./lenya.sh servlet >> $logfile 2>&1 &
echo $! > /export/home/lenya/bin/lenya-for-forrest.pid


Modified: lenya/zone/bin/nightly-branch.sh
URL:
http://svn.apache.org/viewcvs/lenya/zone/bin/nightly-branch.sh?rev=370936&r1=370935&r2=370936&view=diff
==============================================================================
--- lenya/zone/bin/nightly-branch.sh (original)
+++ lenya/zone/bin/nightly-branch.sh Fri Jan 20 16:16:41 2006
@@ -1,5 +1,4 @@
-#!/bin/sh
-
+#!/usr/bin/bash
help()
{
cat <<HELP
@@ -32,7 +31,9 @@
}
umask 0002
logfile=/tmp/lenya.branch.update.log
-echo "Deploying lenya.branch" >> $logfile
+echo "Deploying lenya.branch" > $logfile
+echo "starting date is " >> $logfile
+date >> $logfile
update=true
cocoon=true
while [ -n "$1" ]; do

Modified: lenya/zone/bin/nightly-trunk.sh
URL:
http://svn.apache.org/viewcvs/lenya/zone/bin/nightly-trunk.sh?rev=370936&r1=370935&r2=370936&view=diff
==============================================================================
--- lenya/zone/bin/nightly-trunk.sh (original)
+++ lenya/zone/bin/nightly-trunk.sh Fri Jan 20 16:16:41 2006
@@ -1,5 +1,4 @@
-#!/bin/sh
-
+#!/usr/bin/bash
help()
{
cat <<HELP
@@ -32,6 +31,9 @@
}
umask 0002
logfile=/tmp/lenya.trunk.update.log
+echo "Deploying lenya.branch" > $logfile
+echo "starting date is " >> $logfile
+date >> $logfile
update=true
cocoon=true
while [ -n "$1" ]; do


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation