mirror of
https://github.com/YunoHost-Apps/metabase_ynh.git
synced 2024-09-03 19:46:00 +02:00
fix
This commit is contained in:
parent
fc1b501ca4
commit
1e4785e70d
4 changed files with 9 additions and 40 deletions
1
doc/DESCRIPTION_fr.md
Normal file
1
doc/DESCRIPTION_fr.md
Normal file
|
@ -0,0 +1 @@
|
|||
La métabase est le moyen facile et open source pour tous les membres de votre entreprise de poser des questions et d'apprendre à partir des données.
|
|
@ -5,7 +5,7 @@ name = "Metabase"
|
|||
description.en = "Web database management tool"
|
||||
description.fr = "Outil web de gestion des bases de données"
|
||||
|
||||
version = "0.44.6~ynh1"
|
||||
version = "0.47.0~ynh1"
|
||||
|
||||
maintainers = ["Colin Maudry"]
|
||||
|
||||
|
@ -37,8 +37,8 @@ ram.runtime = "50M"
|
|||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
url = "https://downloads.metabase.com/v0.46.3/metabase.jar"
|
||||
sha256 = "5988d34062484b664e89ba152d8949498b3d8d9a3c51f40ce2ac7938058cd164"
|
||||
url = "https://downloads.metabase.com/v0.47.0/metabase.jar"
|
||||
sha256 = "9bf03a464163971196bec306590041e8f571f24e1d5a34695363f0dea1eba809"
|
||||
extract = false
|
||||
rename = "metabase.jar"
|
||||
|
||||
|
|
|
@ -29,13 +29,13 @@ ynh_script_progression --message="Configuring NGNX web server..." --weight=3
|
|||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
||||
|
||||
ynh_add_systemd_config
|
||||
|
||||
# Use logrotate to manage application logfile(s)
|
||||
ynh_use_logrotate
|
||||
|
||||
yunohost service add $app --description="Web database management tool" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# SETUP CONFIG
|
||||
#=================================================
|
||||
|
@ -47,23 +47,6 @@ ynh_add_config --template="../conf/metabase" --destination="/etc/default/$app"
|
|||
chmod 640 "/etc/default/$app"
|
||||
chown $app "/etc/default/$app"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
# SETUP LOGROTATE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring log rotation..." --weight=1
|
||||
|
||||
# Use logrotate to manage application logfile(s)
|
||||
ynh_use_logrotate
|
||||
|
||||
#=================================================
|
||||
# INTEGRATE SERVICE IN YUNOHOST
|
||||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
|
||||
|
||||
yunohost service add $app --description="Web database management tool" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
|
|
|
@ -48,26 +48,11 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
|
|||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring a systemd service..." --weight=3
|
||||
|
||||
ynh_add_systemd_config
|
||||
|
||||
#=================================================
|
||||
# HANDLE LOG FILES AND LOGROTATE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring log rotation..." --weight=3
|
||||
|
||||
# Setup logrotate
|
||||
ynh_use_logrotate
|
||||
|
||||
#=================================================
|
||||
# INTEGRATE SERVICE IN YUNOHOST
|
||||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
|
||||
|
||||
yunohost service add $app --description="Web database management tool" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue