1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jirafeau_ynh.git synced 2024-09-03 19:35:53 +02:00
This commit is contained in:
Éric Gaspar 2023-12-09 21:59:39 +01:00
parent c5b90c08b5
commit d8827aaa54
3 changed files with 6 additions and 8 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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"