Merge pull request #5 from YunoHost-Apps/testing

Testing
This commit is contained in:
Florent 2023-02-13 11:38:45 +01:00 committed by GitHub
commit 20fc150fdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 30 deletions

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# ElasticSearch 7 for YunoHost # ElasticSearch 7 for YunoHost
[![Integration level](https://dash.yunohost.org/integration/elasticsearch7.svg)](https://dash.yunohost.org/appci/app/elasticsearch7) ![Working status](https://ci-apps.yunohost.org/ci/badges/elasticsearch7.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/elasticsearch7.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/elasticsearch7.svg)](https://dash.yunohost.org/appci/app/elasticsearch7) ![Working status](https://ci-apps.yunohost.org/ci/badges/elasticsearch7.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/elasticsearch7.maintain.svg)
[![Install ElasticSearch 7 with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=elasticsearch7) [![Install ElasticSearch 7 with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=elasticsearch7)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -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~ynh5 **Shipped version:** 7.17.8~ynh6
**Demo:** https://www.elastic.co/demos **Demo:** https://www.elastic.co/demos
## Disclaimers / important information ## Disclaimers / important information

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# ElasticSearch 7 pour YunoHost # ElasticSearch 7 pour YunoHost
[![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) [![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)*
@ -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).
**Version incluse :** 7.17.8~ynh5 **Version incluse :** 7.17.8~ynh6
**Démo :** https://www.elastic.co/demos **Démo :** https://www.elastic.co/demos
## Avertissements / informations importantes ## Avertissements / informations importantes

View file

@ -7,6 +7,7 @@ After=network.target
Type=simple Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
RuntimeDirectory=__APP__
Environment="ES_JAVA_HOME=__FINALPATH__/jdk" 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__"

View file

@ -6,7 +6,7 @@
"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~ynh5", "version": "7.17.8~ynh6",
"url": "https://github.com/elastic/elasticsearch", "url": "https://github.com/elastic/elasticsearch",
"upstream": { "upstream": {
"license": "SSPL-1.0", "license": "SSPL-1.0",

View file

@ -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
#================================================= #=================================================

View file

@ -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
#================================================= #=================================================

View file

@ -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
#================================================= #=================================================