aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorfrancis <francis>2008-04-15 16:20:28 +0000
committerfrancis <francis>2008-04-15 16:20:28 +0000
commit4be35bae5aabe1563eb52e61f153810acf6dec22 (patch)
treeaa746503c8ef868c70ed36e79624789a06602af4 /script
parent58a9a8bd9e8a6e6cd7e77c4367bac7c7dd8cccaf (diff)
Try longer sleep
Diffstat (limited to 'script')
-rwxr-xr-xscript/restart-mongrel2
-rwxr-xr-xscript/single-solr-query2
2 files changed, 3 insertions, 1 deletions
diff --git a/script/restart-mongrel b/script/restart-mongrel
index 691baff9e..51c3a85a5 100755
--- a/script/restart-mongrel
+++ b/script/restart-mongrel
@@ -8,7 +8,7 @@ cd ..
if [ -e log/mongrel.pid ]
then
ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails stop
- sleep 1s
+ sleep 2s
ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails start -d
else
ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails start -d
diff --git a/script/single-solr-query b/script/single-solr-query
index 42c68f7fe..ce5b4a614 100755
--- a/script/single-solr-query
+++ b/script/single-solr-query
@@ -1,5 +1,7 @@
#!/bin/bash
+set -x
+
# Test solr
LOC=`dirname $0`