Cluster-geo launcher.

This commit is contained in:
Adam Ierymenko 2015-10-21 12:47:02 -07:00
commit a46514b397
5 changed files with 15 additions and 2 deletions

13
cluster-geo/cluster-geo.exe Executable file
View file

@ -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