mirror of
https://github.com/YunoHost-Apps/opensearch_ynh.git
synced 2024-09-03 19:46:35 +02:00
commit
4aec7ba739
7 changed files with 4 additions and 28 deletions
|
@ -23,7 +23,7 @@ OpenSearch makes it easy to ingest, search, visualize, and analyze your data.
|
||||||
OpenSearch is a scalable, flexible, and extensible open-source software suite for search, analytics, and observability applications licensed under Apache 2.0. Powered by Apache Lucene and driven by the OpenSearch Project community, OpenSearch offers a vendor-agnostic toolset you can use to build secure, high-performance, cost-efficient applications. Use OpenSearch as an end-to-end solution or connect it with your preferred open-source tools or partner projects.
|
OpenSearch is a scalable, flexible, and extensible open-source software suite for search, analytics, and observability applications licensed under Apache 2.0. Powered by Apache Lucene and driven by the OpenSearch Project community, OpenSearch offers a vendor-agnostic toolset you can use to build secure, high-performance, cost-efficient applications. Use OpenSearch as an end-to-end solution or connect it with your preferred open-source tools or partner projects.
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 2.5.0~ynh1
|
**Shipped version:** 2.5.0~ynh2
|
||||||
|
|
||||||
**Demo:** https://playground.opensearch.org/app/home
|
**Demo:** https://playground.opensearch.org/app/home
|
||||||
## Disclaimers / important information
|
## Disclaimers / important information
|
||||||
|
|
|
@ -23,7 +23,7 @@ OpenSearch makes it easy to ingest, search, visualize, and analyze your data.
|
||||||
OpenSearch is a scalable, flexible, and extensible open-source software suite for search, analytics, and observability applications licensed under Apache 2.0. Powered by Apache Lucene and driven by the OpenSearch Project community, OpenSearch offers a vendor-agnostic toolset you can use to build secure, high-performance, cost-efficient applications. Use OpenSearch as an end-to-end solution or connect it with your preferred open-source tools or partner projects.
|
OpenSearch is a scalable, flexible, and extensible open-source software suite for search, analytics, and observability applications licensed under Apache 2.0. Powered by Apache Lucene and driven by the OpenSearch Project community, OpenSearch offers a vendor-agnostic toolset you can use to build secure, high-performance, cost-efficient applications. Use OpenSearch as an end-to-end solution or connect it with your preferred open-source tools or partner projects.
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 2.5.0~ynh1
|
**Version incluse :** 2.5.0~ynh2
|
||||||
|
|
||||||
**Démo :** https://playground.opensearch.org/app/home
|
**Démo :** https://playground.opensearch.org/app/home
|
||||||
## Avertissements / informations importantes
|
## Avertissements / informations importantes
|
||||||
|
|
|
@ -7,6 +7,7 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
|
RuntimeDirectory=__APP__
|
||||||
Environment="OPENSEARCH_JAVA_HOME=__FINALPATH__/jdk"
|
Environment="OPENSEARCH_JAVA_HOME=__FINALPATH__/jdk"
|
||||||
Environment="OPENSEARCH_PATH_CONF=__FINALPATH__/config"
|
Environment="OPENSEARCH_PATH_CONF=__FINALPATH__/config"
|
||||||
Environment="PID_DIR=/run/__APP__"
|
Environment="PID_DIR=/run/__APP__"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Open source distributed and RESTful search engine",
|
"en": "Open source distributed and RESTful search engine",
|
||||||
"fr": "Moteur de recherche RESTful et open-source"
|
"fr": "Moteur de recherche RESTful et open-source"
|
||||||
},
|
},
|
||||||
"version": "2.5.0~ynh1",
|
"version": "2.5.0~ynh2",
|
||||||
"url": "https://github.com/opensearch-project/OpenSearch",
|
"url": "https://github.com/opensearch-project/OpenSearch",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|
|
@ -87,15 +87,6 @@ chmod -R o-rwx "$datadir"
|
||||||
chown -R $app:www-data "$datadir"
|
chown -R $app:www-data "$datadir"
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# CREATE PID DIRECTORY
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
mkdir -p "/run/$app"
|
|
||||||
|
|
||||||
chmod 700 "/run/$app"
|
|
||||||
chown $app:$app "/run/$app"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD CONFIGURATIONS
|
# ADD CONFIGURATIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -68,13 +68,6 @@ then
|
||||||
ynh_secure_remove --file="$datadir"
|
ynh_secure_remove --file="$datadir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# REMOVE PID DIR
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
ynh_script_progression --message="Removing pid directory..." --weight=1
|
|
||||||
ynh_secure_remove --file="/run/$app"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CLOSE A PORT
|
# CLOSE A PORT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -74,15 +74,6 @@ chmod 750 "$datadir"
|
||||||
chmod -R o-rwx "$datadir"
|
chmod -R o-rwx "$datadir"
|
||||||
chown -R $app:www-data "$datadir"
|
chown -R $app:www-data "$datadir"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# CREATE PID DIRECTORY
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
mkdir -p "/run/$app"
|
|
||||||
|
|
||||||
chmod 700 "/run/$app"
|
|
||||||
chown $app:$app "/run/$app"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC RESTORATION
|
# SPECIFIC RESTORATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue