diff --git a/manifest.toml b/manifest.toml index 3963c78..532bbdc 100644 --- a/manifest.toml +++ b/manifest.toml @@ -19,8 +19,11 @@ code = "https://github.com/Leantime/leantime" yunohost = ">= 11.2" architectures = "all" multi_instance = true + ldap = true + sso = false + disk = "50M" ram.build = "50M" ram.runtime = "50M" diff --git a/scripts/change_url b/scripts/change_url index 002e1f7..33508e9 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -24,7 +24,7 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/.env" --destination="$install_dir/config/.env" +ynh_add_config --template=".env" --destination="$install_dir/config/.env" chmod 400 "$install_dir/config/.env" chown $app:$app "$install_dir/config/.env" diff --git a/scripts/install b/scripts/install index 7b25211..880d687 100755 --- a/scripts/install +++ b/scripts/install @@ -31,7 +31,7 @@ chown -R $app:www-data "$install_dir" ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 # Create a dedicated PHP-FPM config using the conf/php-fpm.conf or conf/extra_php-fpm.conf -ynh_add_fpm_config --usage=low --footprint=low +ynh_add_fpm_config # Create a dedicated NGINX config using the conf/nginx.conf template ynh_add_nginx_config @@ -43,7 +43,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/.env" --destination="$install_dir/config/.env" +ynh_add_config --template=".env" --destination="$install_dir/config/.env" chmod 400 "$install_dir/config/.env" chown $app:$app "$install_dir/config/.env" diff --git a/scripts/upgrade b/scripts/upgrade index 87260f9..1a2de1f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,7 +33,7 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 -ynh_add_fpm_config --usage=low --footprint=low +ynh_add_fpm_config ynh_add_nginx_config