Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 10704783a89dd7e6c68916339c39a2a97bb9b088 1 parent 71e0573
Ignacio Perez authored
View
2  nebu/sample-config/etc/service/indexengine-nebu-controller/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec multilog ./main
View
2  nebu/startIndex.py
@@ -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/')
View
2  sample-config/etc/service/indexengine-nebu-deploy-manager/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec multilog ./main
View
2  sample-config/etc/service/indexengine-nebu-populator/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec multilog ./main
View
2  sample-config/etc/service/indexengine-nebu-supervisor/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec multilog ./main
View
1  sample-config/etc/service/indexengine-nebu-supervisor/run 100755 → 100644
@@ -1,4 +1,5 @@
#!/bin/bash
+
if [ -f /data/master ]; then
# start a local controller
cd /home/indextank/nebu
View
2  sample-config/etc/service/indexengine-nebu-worker-manager/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec multilog ./main
View
1  sample-config/etc/service/indexengine-nebu-worker-manager/run 100755 → 100644
@@ -1,4 +1,5 @@
#!/bin/bash
+
# start a worker manager
cd /home/indextank/nebu
echo "Supervise's run starting worker manager."
View
2  server_configurations/storage/etc/service/storage-idx-server/run
@@ -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
View
2  server_configurations/storage/etc/service/storage-writer/run
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.