···3637- [imaginary](https://github.com/h2non/imaginary), a microservice for high-level image processing that Nextcloud can use to generate previews. Available as [services.imaginary](#opt-services.imaginary.enable).
380039- [goeland](https://github.com/slurdge/goeland), an alternative to rss2email written in golang with many filters. Available as [services.goeland](#opt-services.goeland.enable).
4041- [atuin](https://github.com/ellie/atuin), a sync server for shell history. Available as [services.atuin](#opt-services.atuin.enable).
···3637- [imaginary](https://github.com/h2non/imaginary), a microservice for high-level image processing that Nextcloud can use to generate previews. Available as [services.imaginary](#opt-services.imaginary.enable).
3839+- [opensearch](https://opensearch.org), a search server alternative to Elasticsearch. Available as [services.opensearch](options.html#opt-services.opensearch.enable).
40+41- [goeland](https://github.com/slurdge/goeland), an alternative to rss2email written in golang with many filters. Available as [services.goeland](#opt-services.goeland.enable).
4243- [atuin](https://github.com/ellie/atuin), a sync server for shell history. Available as [services.atuin](#opt-services.atuin.enable).
···1+diff -Naur a/bin/opensearch-env b/bin/opensearch-env
2+--- a/bin/opensearch-env 2017-12-12 13:31:51.000000000 +0100
3++++ b/bin/opensearch-env 2017-12-18 19:51:12.282809695 +0100
4+@@ -19,18 +19,10 @@
5+ fi
6+ done
7+8+-# determine OpenSearch home; to do this, we strip from the path until we find
9+-# bin, and then strip bin (there is an assumption here that there is no nested
10+-# directory under bin also named bin)
11+-OPENSEARCH_HOME=`dirname "$SCRIPT"`
12+-
13+-# now make OPENSEARCH_HOME absolute
14+-OPENSEARCH_HOME=`cd "$OPENSEARCH_HOME"; pwd`
15+-
16+-while [ "`basename "$OPENSEARCH_HOME"`" != "bin" ]; do
17+- OPENSEARCH_HOME=`dirname "$OPENSEARCH_HOME"`
18+-done
19+-OPENSEARCH_HOME=`dirname "$OPENSEARCH_HOME"`
20++if [ -z "$OPENSEARCH_HOME" ]; then
21++ echo "You must set the OPENSEARCH_HOME var" >&2
22++ exit 1
23++fi
24+25+ # now set the classpath
26+ OPENSEARCH_CLASSPATH="$OPENSEARCH_HOME/lib/*"