1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/opensearch_ynh.git synced 2024-09-03 19:46:35 +02:00

Merge pull request #6 from YunoHost-Apps/testing

Testing
This commit is contained in:
Florent 2023-02-09 08:56:04 +01:00 committed by GitHub
commit 4aec7ba739
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 4 additions and 28 deletions

View file

@ -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.
**Shipped version:** 2.5.0~ynh1
**Shipped version:** 2.5.0~ynh2
**Demo:** https://playground.opensearch.org/app/home
## Disclaimers / important information

View file

@ -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.
**Version incluse :** 2.5.0~ynh1
**Version incluse :** 2.5.0~ynh2
**Démo :** https://playground.opensearch.org/app/home
## Avertissements / informations importantes

View file

@ -7,6 +7,7 @@ After=network.target
Type=simple
User=__APP__
Group=__APP__
RuntimeDirectory=__APP__
Environment="OPENSEARCH_JAVA_HOME=__FINALPATH__/jdk"
Environment="OPENSEARCH_PATH_CONF=__FINALPATH__/config"
Environment="PID_DIR=/run/__APP__"

View file

@ -6,7 +6,7 @@
"en": "Open source distributed and RESTful search engine",
"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",
"upstream": {
"license": "Apache-2.0",

View file

@ -87,15 +87,6 @@ chmod -R o-rwx "$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
#=================================================

View file

@ -68,13 +68,6 @@ then
ynh_secure_remove --file="$datadir"
fi
#=================================================
# REMOVE PID DIR
#=================================================
ynh_script_progression --message="Removing pid directory..." --weight=1
ynh_secure_remove --file="/run/$app"
#=================================================
# CLOSE A PORT
#=================================================

View file

@ -74,15 +74,6 @@ chmod 750 "$datadir"
chmod -R o-rwx "$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
#=================================================