summarylogtreecommitdiffstats
path: root/StartNutchServerWebApp.bash
diff options
context:
space:
mode:
Diffstat (limited to 'StartNutchServerWebApp.bash')
-rwxr-xr-xStartNutchServerWebApp.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/StartNutchServerWebApp.bash b/StartNutchServerWebApp.bash
new file mode 100755
index 000000000000..7978f73ada4f
--- /dev/null
+++ b/StartNutchServerWebApp.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 webapp