From 6a5a4488b53d07f2bca10883788f59af6bcafe95 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 27 Jun 2021 18:08:52 +0200 Subject: [PATCH] Update install --- scripts/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index ec138d9..1ed5dc5 100644 --- a/scripts/install +++ b/scripts/install @@ -54,10 +54,10 @@ ynh_app_setting_set --app=$app --key=path --value=$path_url #================================================= # CREATE DEDICATED USER #================================================= -ynh_script_progression --message="Configuring system user..." --weight=1 +# ynh_script_progression --message="Configuring system user..." --weight=1 -# Create a system user -ynh_system_user_create --username=$app --home_dir="$final_path" +# # Create a system user +# ynh_system_user_create --username=$app --home_dir="$final_path" #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE @@ -69,8 +69,8 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_setup_source --dest_dir="$final_path" chmod 750 "$final_path" -chmod -R o-rwx "$final_path" -chown -R $app:www-data "$final_path" +#chmod -R o-rwx "$final_path" +chown -R www-data:www-data "$final_path" #================================================= # NGINX CONFIGURATION