ZeroTierOne/cluster-geo/cluster-geo.exe

14 lines
281 B
Plaintext
Raw Normal View History

2015-10-21 19:47:02 +00:00
#!/bin/bash
export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
cd `dirname $0`
2015-10-22 17:41:15 +00:00
if [ ! -d cluster-geo -o ! -f cluster-geo/cluster-geo.js ]; then
2015-10-21 19:47:02 +00:00
echo 'Cannot find ./cluster-geo containing NodeJS script files.'
exit 1
fi
cd cluster-geo
2015-10-23 19:05:17 +00:00
exec node --harmony cluster-geo.js