summarylogtreecommitdiffstats
path: root/StartNutchServerRest.bash
diff options
context:
space:
mode:
authorWebDawg2016-10-09 17:26:18 -0600
committerWebDawg2016-10-09 17:26:18 -0600
commit569e289778309c456a3f0e9ffbd074440996d188 (patch)
treea822e0cf8f09837eaea1ee357c517ca435ef7809 /StartNutchServerRest.bash
parent767fd43c293d8e471b354bc09cc05b89cbd73b8a (diff)
downloadaur-569e289778309c456a3f0e9ffbd074440996d188.tar.gz
more services
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