Merge pull request #4 from YunoHost-Apps/testing

Testing
This commit is contained in:
Florent 2023-01-20 10:45:01 +01:00 committed by GitHub
commit e5ed64d89a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 18 deletions

View file

@ -19,7 +19,7 @@ Elasticsearch is the distributed, RESTful search and analytics engine at the hea
To learn more about Elasticsearchs features and capabilities, see the [product page](https://www.elastic.co/products/elasticsearch). To learn more about Elasticsearchs features and capabilities, see the [product page](https://www.elastic.co/products/elasticsearch).
**Shipped version:** 7.17.8~ynh4 **Shipped version:** 7.17.8~ynh5
**Demo:** https://www.elastic.co/demos **Demo:** https://www.elastic.co/demos
## Disclaimers / important information ## Disclaimers / important information

View file

@ -5,21 +5,21 @@ It shall NOT be edited by hand.
# ElasticSearch 7 pour YunoHost # ElasticSearch 7 pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/elasticsearch7.svg)](https://dash.yunohost.org/appci/app/elasticsearch7) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/elasticsearch7.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/elasticsearch7.maintain.svg) [![Niveau dintégration](https://dash.yunohost.org/integration/elasticsearch7.svg)](https://dash.yunohost.org/appci/app/elasticsearch7) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/elasticsearch7.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/elasticsearch7.maintain.svg)
[![Installer ElasticSearch 7 avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=elasticsearch7) [![Installer ElasticSearch 7 avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=elasticsearch7)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer ElasticSearch 7 rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet dinstaller ElasticSearch 7 rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble ## Vue densemble
Elasticsearch is the distributed, RESTful search and analytics engine at the heart of the [Elastic Stack](https://www.elastic.co/products). You can use Elasticsearch to store, search, and manage data for logs, metrics, search backend, application monitoring, Endpoint security. Elasticsearch is the distributed, RESTful search and analytics engine at the heart of the [Elastic Stack](https://www.elastic.co/products). You can use Elasticsearch to store, search, and manage data for logs, metrics, search backend, application monitoring, Endpoint security.
To learn more about Elasticsearchs features and capabilities, see the [product page](https://www.elastic.co/products/elasticsearch). To learn more about Elasticsearchs features and capabilities, see the [product page](https://www.elastic.co/products/elasticsearch).
**Version incluse :** 7.17.8~ynh4 **Version incluse :** 7.17.8~ynh5
**Démo :** https://www.elastic.co/demos **Démo :** https://www.elastic.co/demos
## Avertissements / informations importantes ## Avertissements / informations importantes
@ -36,9 +36,9 @@ To learn more about Elasticsearchs features and capabilities, see the [produc
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : <https://elastic.co> * Site officiel de lapp : <https://elastic.co>
* Documentation officielle de l'admin : <https://www.elastic.co/guide/en/elasticsearch/reference/7.17/elasticsearch-intro.html> * Documentation officielle de ladmin : <https://www.elastic.co/guide/en/elasticsearch/reference/7.17/elasticsearch-intro.html>
* Dépôt de code officiel de l'app : <https://github.com/elastic/elasticsearch> * Dépôt de code officiel de lapp : <https://github.com/elastic/elasticsearch>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_elasticsearch7> * Documentation YunoHost pour cette app : <https://yunohost.org/app_elasticsearch7>
* Signaler un bug : <https://github.com/YunoHost-Apps/elasticsearch7_ynh/issues> * Signaler un bug : <https://github.com/YunoHost-Apps/elasticsearch7_ynh/issues>
@ -54,4 +54,4 @@ ou
sudo yunohost app upgrade elasticsearch7 -u https://github.com/YunoHost-Apps/elasticsearch7_ynh/tree/testing --debug sudo yunohost app upgrade elasticsearch7 -u https://github.com/YunoHost-Apps/elasticsearch7_ynh/tree/testing --debug
``` ```
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps> **Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -11,7 +11,6 @@ Environment="ES_JAVA_HOME=__FINALPATH__/jdk"
Environment="ES_PATH_CONF=__FINALPATH__/config" Environment="ES_PATH_CONF=__FINALPATH__/config"
Environment="PID_DIR=/run/__APP__" Environment="PID_DIR=/run/__APP__"
Environment="ES_SD_NOTIFY=true" Environment="ES_SD_NOTIFY=true"
EnvironmentFile=-@path.env@
WorkingDirectory=__FINALPATH__/ WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/bin/elasticsearch -p ${PID_DIR}/__APP__.pid --quiet ExecStart=__FINALPATH__/bin/elasticsearch -p ${PID_DIR}/__APP__.pid --quiet
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log

View file

@ -3,10 +3,10 @@
"id": "elasticsearch7", "id": "elasticsearch7",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "Distributed and RESTful search engine.", "en": "Distributed and RESTful search engine",
"fr": "Moteur de recherche RESTful." "fr": "Moteur de recherche RESTful"
}, },
"version": "7.17.8~ynh4", "version": "7.17.8~ynh5",
"url": "https://github.com/elastic/elasticsearch", "url": "https://github.com/elastic/elasticsearch",
"upstream": { "upstream": {
"license": "SSPL-1.0", "license": "SSPL-1.0",

View file

@ -116,7 +116,7 @@ ynh_script_progression --message="Increasing maximum map count (sysctl)..."
# Increase the maximum number of files inotify can monitor. # Increase the maximum number of files inotify can monitor.
cp -a ../conf/90-max_map_count-elasticsearch.conf /etc/sysctl.d/ cp -a ../conf/90-max_map_count-elasticsearch.conf /etc/sysctl.d/
# Then, reload the kernel configuration. # Then, reload the kernel configuration.
if ! [ "$container" = "lxc" ] # lxc doesn't allow sysctl to play with kernel options. if ! [ "${container:-}" = "lxc" ] # lxc doesn't allow sysctl to play with kernel options.
then then
sysctl -p /etc/sysctl.d/90-max_map_count-elasticsearch.conf sysctl -p /etc/sysctl.d/90-max_map_count-elasticsearch.conf
fi fi

View file

@ -105,7 +105,7 @@ ynh_script_progression --message="Removing various files..."
if [ -e "/etc/sysctl.d/90-max_map_count-elasticsearch.conf" ]; then if [ -e "/etc/sysctl.d/90-max_map_count-elasticsearch.conf" ]; then
ynh_secure_remove --file="/etc/sysctl.d/90-max_map_count-elasticsearch.conf" ynh_secure_remove --file="/etc/sysctl.d/90-max_map_count-elasticsearch.conf"
# Reload the kernel configuration. # Reload the kernel configuration.
if ! [ "$container" = "lxc" ] # lxc doesn't allow sysctl to play with kernel options. if ! [ "${container:-}" = "lxc" ] # lxc doesn't allow sysctl to play with kernel options.
then then
sysctl --system sysctl --system
fi fi

View file

@ -91,7 +91,7 @@ chown $app:$app "/run/$app"
ynh_script_progression --message="Restoring various files..." ynh_script_progression --message="Restoring various files..."
ynh_restore_file --origin_path="/etc/sysctl.d/90-max_map_count-elasticsearch.conf" ynh_restore_file --origin_path="/etc/sysctl.d/90-max_map_count-elasticsearch.conf"
if ! [ "$container" = "lxc" ] # lxc doesn't allow sysctl to play with kernel options. if ! [ "${container:-}" = "lxc" ] # lxc doesn't allow sysctl to play with kernel options.
then then
sysctl -p /etc/sysctl.d/90-max_map_count-elasticsearch.conf sysctl -p /etc/sysctl.d/90-max_map_count-elasticsearch.conf
fi fi

View file

@ -99,7 +99,7 @@ ynh_script_progression --message="Increasing maximum map count (sysctl)..."
# Increase the maximum number of files inotify can monitor. # Increase the maximum number of files inotify can monitor.
cp -a ../conf/90-max_map_count-elasticsearch.conf /etc/sysctl.d/ cp -a ../conf/90-max_map_count-elasticsearch.conf /etc/sysctl.d/
# Then, reload the kernel configuration. # Then, reload the kernel configuration.
if ! [ "$container" = "lxc" ] # lxc doesn't allow sysctl to play with kernel options. if ! [ "${container:-}" = "lxc" ] # lxc doesn't allow sysctl to play with kernel options.
then then
sysctl -p /etc/sysctl.d/90-max_map_count-elasticsearch.conf sysctl -p /etc/sysctl.d/90-max_map_count-elasticsearch.conf
fi fi