summaryrefslogtreecommitdiff
path: root/cluster-geo
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-21 12:47:02 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-21 12:47:02 -0700
commita46514b397acdf42451d41398ef77eec60744256 (patch)
tree3b8b257041ef2bf511cfc2d497dd5b1263108253 /cluster-geo
parent25a84e30fc7cedf2cc45970ecbe0df64886394e0 (diff)
downloadinfinitytier-a46514b397acdf42451d41398ef77eec60744256.tar.gz
infinitytier-a46514b397acdf42451d41398ef77eec60744256.zip
Cluster-geo launcher.
Diffstat (limited to 'cluster-geo')
-rwxr-xr-xcluster-geo/cluster-geo.exe13
-rw-r--r--cluster-geo/cluster-geo/config.js.sample (renamed from cluster-geo/config.js.sample)0
-rw-r--r--cluster-geo/cluster-geo/index.js (renamed from cluster-geo/index.js)0
-rw-r--r--cluster-geo/cluster-geo/package.json (renamed from cluster-geo/package.json)0
4 files changed, 13 insertions, 0 deletions
diff --git a/cluster-geo/cluster-geo.exe b/cluster-geo/cluster-geo.exe
new file mode 100755
index 00000000..ae720610
--- /dev/null
+++ b/cluster-geo/cluster-geo.exe
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
+
+cd `dirname $0`
+if [ ! -d cluster-geo -o ! -f cluster-geo/index.js ]; then
+ echo 'Cannot find ./cluster-geo containing NodeJS script files.'
+ exit 1
+fi
+
+cd cluster-geo
+
+exec node index.js
diff --git a/cluster-geo/config.js.sample b/cluster-geo/cluster-geo/config.js.sample
index ec1ebfea..ec1ebfea 100644
--- a/cluster-geo/config.js.sample
+++ b/cluster-geo/cluster-geo/config.js.sample
diff --git a/cluster-geo/index.js b/cluster-geo/cluster-geo/index.js
index 0e903ade..0e903ade 100644
--- a/cluster-geo/index.js
+++ b/cluster-geo/cluster-geo/index.js
diff --git a/cluster-geo/package.json b/cluster-geo/cluster-geo/package.json
index 1927197e..1927197e 100644
--- a/cluster-geo/package.json
+++ b/cluster-geo/cluster-geo/package.json