mirror of
https://github.com/YunoHost-Apps/elasticsearch8_ynh.git
synced 2024-09-03 18:26:26 +02:00
commit
bf7552e3d6
7 changed files with 4 additions and 28 deletions
|
@ -19,7 +19,7 @@ Elasticsearch is the distributed, RESTful search and analytics engine at the hea
|
||||||
To learn more about Elasticsearch’s features and capabilities, see the [product page](https://www.elastic.co/products/elasticsearch).
|
To learn more about Elasticsearch’s features and capabilities, see the [product page](https://www.elastic.co/products/elasticsearch).
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 8.6.1~ynh1
|
**Shipped version:** 8.6.1~ynh2
|
||||||
|
|
||||||
**Demo:** https://www.elastic.co/demos
|
**Demo:** https://www.elastic.co/demos
|
||||||
## Disclaimers / important information
|
## Disclaimers / important information
|
||||||
|
|
|
@ -19,7 +19,7 @@ Elasticsearch is the distributed, RESTful search and analytics engine at the hea
|
||||||
To learn more about Elasticsearch’s features and capabilities, see the [product page](https://www.elastic.co/products/elasticsearch).
|
To learn more about Elasticsearch’s features and capabilities, see the [product page](https://www.elastic.co/products/elasticsearch).
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 8.6.1~ynh1
|
**Version incluse :** 8.6.1~ynh2
|
||||||
|
|
||||||
**Démo :** https://www.elastic.co/demos
|
**Démo :** https://www.elastic.co/demos
|
||||||
## 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="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__"
|
||||||
|
|
|
@ -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": "8.6.1~ynh1",
|
"version": "8.6.1~ynh2",
|
||||||
"url": "https://github.com/elastic/elasticsearch",
|
"url": "https://github.com/elastic/elasticsearch",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "SSPL-1.0",
|
"license": "SSPL-1.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…
Reference in a new issue