From e1e83ef3961e0fe72b39d7270decd63851e60cc5 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 13 May 2022 22:42:46 +0200 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index dec0259..3cb664a 100644 --- a/scripts/install +++ b/scripts/install @@ -118,7 +118,8 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_add_config --template="../conf/.env" --destination="$final_path/.env" -chown -R $app:www-data "$final_path" +chmod 400 "$final_path/.env" +chown $app:$app "$final_path/.env" #================================================= # SETUP SYSTEMD