mirror of
https://github.com/YunoHost-Apps/fab-manager_ynh.git
synced 2024-09-03 18:36:16 +02:00
Merge pull request #121 from YunoHost-Apps/testing
Automated testing -> master
This commit is contained in:
commit
39433d8e87
3 changed files with 7 additions and 12 deletions
|
@ -4,7 +4,8 @@ packaging_format = 2
|
|||
|
||||
id = "fab-manager"
|
||||
name = "Fab-manager"
|
||||
description.en = "Fab Lab management solution."
|
||||
description.en = "Fab Lab management solution"
|
||||
description.fr = "Solution de gestion de Fab Lab"
|
||||
|
||||
version = "5.6.5~ynh2"
|
||||
|
||||
|
@ -23,9 +24,9 @@ architectures = "all"
|
|||
multi_instance = false
|
||||
ldap = false
|
||||
sso = false
|
||||
disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ...
|
||||
ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
||||
ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
||||
disk = "50M"
|
||||
ram.build = "50M"
|
||||
ram.runtime = "50M"
|
||||
|
||||
[install]
|
||||
[install.domain]
|
||||
|
|
|
@ -27,13 +27,8 @@ ynh_remove_systemd_config --service="$app-worker"
|
|||
# Remove the dedicated NGINX config
|
||||
ynh_remove_nginx_config
|
||||
|
||||
#=================================================
|
||||
# REMOVE DEPENDENCIES
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing Ruby..." --weight=1
|
||||
ynh_remove_ruby
|
||||
|
||||
ynh_script_progression --message="Removing NodeJS..." --weight=1
|
||||
ynh_remove_nodejs
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#=================================================
|
||||
|
||||
source _common.sh
|
||||
source ynh_supervisor
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
|
@ -65,11 +64,11 @@ chown -R "$app:www-data" "$install_dir"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Updating a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/secrets.yml" --destination="$install_dir/config/secrets.yml"
|
||||
ynh_add_config --template="secrets.yml" --destination="$install_dir/config/secrets.yml"
|
||||
chmod 400 "$install_dir/config/secrets.yml"
|
||||
chown "$app:$app" "$install_dir/config/secrets.yml"
|
||||
|
||||
ynh_add_config --template="../conf/database.yml" --destination="$install_dir/config/database.yml"
|
||||
ynh_add_config --template="database.yml" --destination="$install_dir/config/database.yml"
|
||||
chmod 400 "$install_dir/config/database.yml"
|
||||
chown "$app:$app" "$install_dir/config/database.yml"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue