mirror of
https://github.com/YunoHost-Apps/opensearch_ynh.git
synced 2024-09-03 19:46:35 +02:00
commit
aefa0ccd84
11 changed files with 71 additions and 32 deletions
|
@ -5,4 +5,5 @@
|
||||||
- [Irakurri README euskaraz](README_eu.md)
|
- [Irakurri README euskaraz](README_eu.md)
|
||||||
- [Lire le README en français](README_fr.md)
|
- [Lire le README en français](README_fr.md)
|
||||||
- [Le o README en galego](README_gl.md)
|
- [Le o README en galego](README_gl.md)
|
||||||
|
- [Baca README dalam bahasa bahasa Indonesia](README_id.md)
|
||||||
- [阅读中文(简体)的 README](README_zh_Hans.md)
|
- [阅读中文(简体)的 README](README_zh_Hans.md)
|
||||||
|
|
|
@ -5,7 +5,7 @@ It shall NOT be edited by hand.
|
||||||
|
|
||||||
# OpenSearch for YunoHost
|
# OpenSearch for YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/opensearch)  
|
[](https://ci-apps.yunohost.org/ci/apps/opensearch/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=opensearch)
|
[](https://install-app.yunohost.org/?app=opensearch)
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ OpenSearch is a scalable, flexible, and extensible open-source software suite fo
|
||||||
- Not scalable for now
|
- Not scalable for now
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 2.9.0~ynh2
|
**Shipped version:** 2.9.0~ynh3
|
||||||
|
|
||||||
**Demo:** <https://playground.opensearch.org/app/home>
|
**Demo:** <https://playground.opensearch.org/app/home>
|
||||||
## Documentation and resources
|
## Documentation and resources
|
||||||
|
|
|
@ -5,7 +5,7 @@ No se debe editar a mano.
|
||||||
|
|
||||||
# OpenSearch para Yunohost
|
# OpenSearch para Yunohost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/opensearch)  
|
[](https://ci-apps.yunohost.org/ci/apps/opensearch/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=opensearch)
|
[](https://install-app.yunohost.org/?app=opensearch)
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ OpenSearch is a scalable, flexible, and extensible open-source software suite fo
|
||||||
- Not scalable for now
|
- Not scalable for now
|
||||||
|
|
||||||
|
|
||||||
**Versión actual:** 2.9.0~ynh2
|
**Versión actual:** 2.9.0~ynh3
|
||||||
|
|
||||||
**Demo:** <https://playground.opensearch.org/app/home>
|
**Demo:** <https://playground.opensearch.org/app/home>
|
||||||
## Documentaciones y recursos
|
## Documentaciones y recursos
|
||||||
|
|
|
@ -5,7 +5,7 @@ EZ editatu eskuz.
|
||||||
|
|
||||||
# OpenSearch YunoHost-erako
|
# OpenSearch YunoHost-erako
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/opensearch)  
|
[](https://ci-apps.yunohost.org/ci/apps/opensearch/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=opensearch)
|
[](https://install-app.yunohost.org/?app=opensearch)
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ OpenSearch is a scalable, flexible, and extensible open-source software suite fo
|
||||||
- Not scalable for now
|
- Not scalable for now
|
||||||
|
|
||||||
|
|
||||||
**Paketatutako bertsioa:** 2.9.0~ynh2
|
**Paketatutako bertsioa:** 2.9.0~ynh3
|
||||||
|
|
||||||
**Demoa:** <https://playground.opensearch.org/app/home>
|
**Demoa:** <https://playground.opensearch.org/app/home>
|
||||||
## Dokumentazioa eta baliabideak
|
## Dokumentazioa eta baliabideak
|
||||||
|
|
|
@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main.
|
||||||
|
|
||||||
# OpenSearch pour YunoHost
|
# OpenSearch pour YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/opensearch)  
|
[](https://ci-apps.yunohost.org/ci/apps/opensearch/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=opensearch)
|
[](https://install-app.yunohost.org/?app=opensearch)
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ OpenSearch is a scalable, flexible, and extensible open-source software suite fo
|
||||||
- Not scalable for now
|
- Not scalable for now
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 2.9.0~ynh2
|
**Version incluse :** 2.9.0~ynh3
|
||||||
|
|
||||||
**Démo :** <https://playground.opensearch.org/app/home>
|
**Démo :** <https://playground.opensearch.org/app/home>
|
||||||
## Documentations et ressources
|
## Documentations et ressources
|
||||||
|
|
|
@ -5,7 +5,7 @@ NON debe editarse manualmente.
|
||||||
|
|
||||||
# OpenSearch para YunoHost
|
# OpenSearch para YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/opensearch)  
|
[](https://ci-apps.yunohost.org/ci/apps/opensearch/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=opensearch)
|
[](https://install-app.yunohost.org/?app=opensearch)
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ OpenSearch is a scalable, flexible, and extensible open-source software suite fo
|
||||||
- Not scalable for now
|
- Not scalable for now
|
||||||
|
|
||||||
|
|
||||||
**Versión proporcionada:** 2.9.0~ynh2
|
**Versión proporcionada:** 2.9.0~ynh3
|
||||||
|
|
||||||
**Demo:** <https://playground.opensearch.org/app/home>
|
**Demo:** <https://playground.opensearch.org/app/home>
|
||||||
## Documentación e recursos
|
## Documentación e recursos
|
||||||
|
|
55
README_id.md
Normal file
55
README_id.md
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
<!--
|
||||||
|
N.B.: README ini dibuat secara otomatis oleh <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||||
|
Ini TIDAK boleh diedit dengan tangan.
|
||||||
|
-->
|
||||||
|
|
||||||
|
# OpenSearch untuk YunoHost
|
||||||
|
|
||||||
|
[](https://ci-apps.yunohost.org/ci/apps/opensearch/)  
|
||||||
|
|
||||||
|
[](https://install-app.yunohost.org/?app=opensearch)
|
||||||
|
|
||||||
|
*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)*
|
||||||
|
|
||||||
|
> *Paket ini memperbolehkan Anda untuk memasang OpenSearch secara cepat dan mudah pada server YunoHost.*
|
||||||
|
> *Bila Anda tidak mempunyai YunoHost, silakan berkonsultasi dengan [panduan](https://yunohost.org/install) untuk mempelajari bagaimana untuk memasangnya.*
|
||||||
|
|
||||||
|
## Ringkasan
|
||||||
|
|
||||||
|
OpenSearch makes it easy to ingest, search, visualize, and analyze your data.
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
### Limitations
|
||||||
|
|
||||||
|
- Currently the security is disabled
|
||||||
|
- Therefore, the package is configured to remain not public for now (i.e. not accessible through the web, the apps depending on it should be installed on the same server)
|
||||||
|
- Not scalable for now
|
||||||
|
|
||||||
|
|
||||||
|
**Versi terkirim:** 2.9.0~ynh3
|
||||||
|
|
||||||
|
**Demo:** <https://playground.opensearch.org/app/home>
|
||||||
|
## Dokumentasi dan sumber daya
|
||||||
|
|
||||||
|
- Website aplikasi resmi: <https://opensearch.org>
|
||||||
|
- Dokumentasi admin resmi: <https://opensearch.org/docs/latest/>
|
||||||
|
- Depot kode aplikasi hulu: <https://github.com/opensearch-project/OpenSearch>
|
||||||
|
- Gudang YunoHost: <https://apps.yunohost.org/app/opensearch>
|
||||||
|
- Laporkan bug: <https://github.com/YunoHost-Apps/opensearch_ynh/issues>
|
||||||
|
|
||||||
|
## Info developer
|
||||||
|
|
||||||
|
Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/opensearch_ynh/tree/testing).
|
||||||
|
|
||||||
|
Untuk mencoba branch `testing`, silakan dilanjutkan seperti:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/opensearch_ynh/tree/testing --debug
|
||||||
|
atau
|
||||||
|
sudo yunohost app upgrade opensearch -u https://github.com/YunoHost-Apps/opensearch_ynh/tree/testing --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
**Info lebih lanjut mengenai pemaketan aplikasi:** <https://yunohost.org/packaging_apps>
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
# YunoHost 上的 OpenSearch
|
# YunoHost 上的 OpenSearch
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/opensearch)  
|
[](https://ci-apps.yunohost.org/ci/apps/opensearch/)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=opensearch)
|
[](https://install-app.yunohost.org/?app=opensearch)
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ OpenSearch is a scalable, flexible, and extensible open-source software suite fo
|
||||||
- Not scalable for now
|
- Not scalable for now
|
||||||
|
|
||||||
|
|
||||||
**分发版本:** 2.9.0~ynh2
|
**分发版本:** 2.9.0~ynh3
|
||||||
|
|
||||||
**演示:** <https://playground.opensearch.org/app/home>
|
**演示:** <https://playground.opensearch.org/app/home>
|
||||||
## 文档与资源
|
## 文档与资源
|
||||||
|
|
|
@ -7,7 +7,7 @@ name = "OpenSearch"
|
||||||
description.en = "Open source distributed and RESTful search engine"
|
description.en = "Open source distributed and RESTful search engine"
|
||||||
description.fr = "Moteur de recherche RESTful et open-source"
|
description.fr = "Moteur de recherche RESTful et open-source"
|
||||||
|
|
||||||
version = "2.9.0~ynh2"
|
version = "2.9.0~ynh3"
|
||||||
|
|
||||||
maintainers = ["fflorent"]
|
maintainers = ["fflorent"]
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ code = "https://github.com/opensearch-project/OpenSearch"
|
||||||
cpe = "cpe:2.3:a:amazon:opensearch"
|
cpe = "cpe:2.3:a:amazon:opensearch"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.0.0"
|
yunohost = ">= 11.2.20"
|
||||||
architectures = ["amd64", "arm64"]
|
architectures = ["amd64", "arm64"]
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
ldap = "not_relevant"
|
ldap = "not_relevant"
|
||||||
|
@ -38,8 +38,6 @@ ram.runtime = "600M"
|
||||||
arm64.url = "https://artifacts.opensearch.org/releases/bundle/opensearch/2.9.0/opensearch-2.9.0-linux-arm64.tar.gz"
|
arm64.url = "https://artifacts.opensearch.org/releases/bundle/opensearch/2.9.0/opensearch-2.9.0-linux-arm64.tar.gz"
|
||||||
arm64.sha256 = "ba6045e58d433f64f09d92565e308553647bfd3f1193346a1716f7f66e4aad5a"
|
arm64.sha256 = "ba6045e58d433f64f09d92565e308553647bfd3f1193346a1716f7f66e4aad5a"
|
||||||
|
|
||||||
# FIXME: autoupdate
|
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
||||||
[resources.install_dir]
|
[resources.install_dir]
|
||||||
|
|
|
@ -26,25 +26,15 @@ ynh_backup --src_path="$install_dir"
|
||||||
ynh_backup --src_path="$data_dir" --is_big
|
ynh_backup --src_path="$data_dir" --is_big
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC BACKUP
|
# SYSTEM CONFIGURATION
|
||||||
#=================================================
|
|
||||||
# BACKUP LOGROTATE
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_backup --src_path="/etc/logrotate.d/$app"
|
ynh_backup --src_path="/etc/logrotate.d/$app"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# BACKUP VARIOUS FILES
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
if [ "${container:-}" != "lxc" ]; then # lxc doesn't allow sysctl to play with kernel options.
|
if [ "${container:-}" != "lxc" ]; then # lxc doesn't allow sysctl to play with kernel options.
|
||||||
ynh_backup --src_path="/etc/sysctl.d/90-max_map_count-opensearch.conf"
|
ynh_backup --src_path="/etc/sysctl.d/90-max_map_count-opensearch.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# BACKUP SYSTEMD
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
ynh_backup --src_path="/etc/systemd/system/$app.service"
|
ynh_backup --src_path="/etc/systemd/system/$app.service"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -14,11 +14,6 @@ ynh_script_progression --message="Stopping $app's systemd service..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name="$app" --action="stop" --log_path="/var/log/$app/$app.log"
|
ynh_systemd_action --service_name="$app" --action="stop" --log_path="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# ENSURE DOWNWARD COMPATIBILITY
|
|
||||||
#=================================================
|
|
||||||
# ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue