From bb80bbbd9bd87e1c057e2e21f52bfbf9bfec3107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 1 Oct 2023 19:06:53 +0200 Subject: [PATCH] cleaning --- manifest.toml | 2 +- scripts/install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index ea446dc..ff4ec2a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -51,7 +51,7 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "mariadb-server, ffmpeg, php8.1-fpm, php8.1-gd, php8.1-intl, php8.1-curl, php8.1-exif, php8.1-mbstring, php8.1-xml, php8.1-mysqlnd" + packages = "mariadb-server, ffmpeg, php8.2-gd, php8.2-intl, php8.2-curl, php8.2-exif, php8.2-mbstring, php8.2-xml, php8.2-mysqlnd" [resources.database] type = "mysql" diff --git a/scripts/install b/scripts/install index 292a52a..a688986 100755 --- a/scripts/install +++ b/scripts/install @@ -60,6 +60,7 @@ ynh_app_setting_set --app="$app" --key=redis_db --value="$redis_db" #redis_number=$(( $YNH_APP_INSTANCE_NUMBER - 1 )) ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env" + chmod 600 $install_dir/.env chown $app:www-data "$install_dir/.env"