summarylogtreecommitdiffstats
path: root/StartNutchServerRest.bash
diff options
context:
space:
mode:
Diffstat (limited to 'StartNutchServerRest.bash')
-rwxr-xr-xStartNutchServerRest.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/StartNutchServerRest.bash b/StartNutchServerRest.bash
new file mode 100755
index 000000000000..7e74dc76c7dd
--- /dev/null
+++ b/StartNutchServerRest.bash
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")
+/opt/nutch/bin/nutch nutchserver \ No newline at end of file