diff --git a/manifest.toml b/manifest.toml index 7a35066..67844d3 100644 --- a/manifest.toml +++ b/manifest.toml @@ -19,8 +19,11 @@ code = "https://gitlab.com/mojo42/Jirafeau" yunohost = ">= 11.2" architectures = "all" multi_instance = false + ldap = false + sso = false + disk = "50M" ram.build = "50M" ram.runtime = "50M" diff --git a/scripts/install b/scripts/install index 888abf2..45deacd 100755 --- a/scripts/install +++ b/scripts/install @@ -50,11 +50,6 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=2 # Create a dedicated PHP-FPM config ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Configuring NGINX web server..." - # Create a dedicated NGINX config ynh_add_nginx_config @@ -70,7 +65,7 @@ else jirafeau_path="$path" fi -ynh_add_config --template="../conf/config.local.php" --destination="$install_dir/lib/config.local.php" +ynh_add_config --template="config.local.php" --destination="$install_dir/lib/config.local.php" chmod 400 "$install_dir/lib/config.local.php" chown $app:$app "$install_dir/lib/config.local.php" @@ -80,7 +75,7 @@ chown $app:$app "$install_dir/lib/config.local.php" #================================================= ynh_script_progression --message="Configuring the cron file..." --weight=2 -ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" +ynh_add_config --template="cron" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app" diff --git a/scripts/upgrade b/scripts/upgrade index d1f9961..f23456d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -75,7 +75,7 @@ ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint # Create a dedicated NGINX config ynh_add_nginx_config -ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" +ynh_add_config --template="cron" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app"