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