Permalink
Browse files

- Changed mode to all service runs to be executable

- Fixed startIndex.py to use the java in the PATH
- Added log/run to all services
  • Loading branch information...
1 parent 71e0573 commit 10704783a89dd7e6c68916339c39a2a97bb9b088 Ignacio Perez committed Feb 10, 2012
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec multilog ./main
View
@@ -111,7 +111,7 @@ def adapt_config_kv(key, value, json_config):
# We want to use everything 64 bits because mmap doesn't like things it can't map to 31 bits.
-java = '/opt/java/64/jre/bin/java'
+java = 'java'
os.putenv('LD_LIBRARY_PATH','lib/berkeleydb_libs_64/')
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec multilog ./main
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec multilog ./main
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec multilog ./main
@@ -1,4 +1,5 @@
#!/bin/bash
+
if [ -f /data/master ]; then
# start a local controller
cd /home/indextank/nebu
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec multilog ./main
@@ -1,4 +1,5 @@
#!/bin/bash
+
# start a worker manager
cd /home/indextank/nebu
echo "Supervise's run starting worker manager."
@@ -3,4 +3,4 @@
# start a logstorage dealer
cd /home/indextank/storage
echo "Supervise's run starting IndexesLog server."
-exec sudo -u indextank ionice -c 2 -n 3 /usr/bin/java -cp conf:lib/indextank-engine-1.0.0-jar-with-dependencies.jar com.flaptor.indextank.storage.IndexesLogServer -rp 15100 -mp 16000 2>&1
+exec sudo -u indextank ionice -c 2 -n 3 /usr/bin/java -cp conf:lib/indextank-trunk-deps.jar:lib/indextank-trunk.jar com.flaptor.indextank.storage.IndexesLogServer -rp 15100 -mp 16000 2>&1
@@ -3,4 +3,4 @@
# start a storage writer
cd /home/indextank/storage
echo "Supervise's run starting LogWriter server"
-exec sudo -u indextank ionice -c 2 -n 3 /usr/bin/java -cp conf:lib/indextank-engine-1.0.0-jar-with-dependencies.jar com.flaptor.indextank.storage.LogWriterServer -p 15000 2>&1
+exec sudo -u indextank ionice -c 2 -n 3 /usr/bin/java -cp conf:lib/indextank-trunk-deps.jar:lib/indextank-trunk.jar com.flaptor.indextank.storage.LogWriterServer -p 15000 2>&1

0 comments on commit 1070478

Please sign in to comment.