Skip to content
Browse files

Added config files for Storage servers

  • Loading branch information...
1 parent 922b18f commit 95da79f6ccbec6b5f8c269d13a9e1003d7d5f082 @santip santip committed
View
3 server_configurations/storage/etc/service/storage-idx-server/log/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec multilog ./main
+
View
6 server_configurations/storage/etc/service/storage-idx-server/run
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# 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
View
3 server_configurations/storage/etc/service/storage-synchronization/log/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec multilog ./main
+
View
10 server_configurations/storage/etc/service/storage-synchronization/run
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# start a storage writer
+cd /home/indextank/storage
+echo "Supervise's run starting synchronization"
+
+while [ 1 ]; do
+ sudo -u indextank /bin/bash ./synchronize.sh 2>&1
+ sleep 30
+done
View
3 server_configurations/storage/etc/service/storage-writer/log/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec multilog ./main
+
View
6 server_configurations/storage/etc/service/storage-writer/run
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# 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

0 comments on commit 95da79f

Please sign in to comment.
Something went wrong with that request. Please try again.