···36363737- [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).
38383939+- [opensearch](https://opensearch.org), a search server alternative to Elasticsearch. Available as [services.opensearch](options.html#opt-services.opensearch.enable).
4040+3941- [goeland](https://github.com/slurdge/goeland), an alternative to rss2email written in golang with many filters. Available as [services.goeland](#opt-services.goeland.enable).
40424143- [atuin](https://github.com/ellie/atuin), a sync server for shell history. Available as [services.atuin](#opt-services.atuin.enable).
···11+diff -Naur a/bin/opensearch-env b/bin/opensearch-env
22+--- a/bin/opensearch-env 2017-12-12 13:31:51.000000000 +0100
33++++ b/bin/opensearch-env 2017-12-18 19:51:12.282809695 +0100
44+@@ -19,18 +19,10 @@
55+ fi
66+ done
77+88+-# determine OpenSearch home; to do this, we strip from the path until we find
99+-# bin, and then strip bin (there is an assumption here that there is no nested
1010+-# directory under bin also named bin)
1111+-OPENSEARCH_HOME=`dirname "$SCRIPT"`
1212+-
1313+-# now make OPENSEARCH_HOME absolute
1414+-OPENSEARCH_HOME=`cd "$OPENSEARCH_HOME"; pwd`
1515+-
1616+-while [ "`basename "$OPENSEARCH_HOME"`" != "bin" ]; do
1717+- OPENSEARCH_HOME=`dirname "$OPENSEARCH_HOME"`
1818+-done
1919+-OPENSEARCH_HOME=`dirname "$OPENSEARCH_HOME"`
2020++if [ -z "$OPENSEARCH_HOME" ]; then
2121++ echo "You must set the OPENSEARCH_HOME var" >&2
2222++ exit 1
2323++fi
2424+2525+ # now set the classpath
2626+ OPENSEARCH_CLASSPATH="$OPENSEARCH_HOME/lib/*"