diff --git a/scripts/install b/scripts/install index a64fa62..bff128e 100644 --- a/scripts/install +++ b/scripts/install @@ -146,7 +146,7 @@ ynh_add_nginx_config #================================================= # Create a system user -ynh_system_user_create $app $final_path +ynh_system_user_create "$app" "$final_path" #================================================= # PHP-FPM CONFIGURATION diff --git a/scripts/restore b/scripts/restore index 2216b13..3734919 100644 --- a/scripts/restore +++ b/scripts/restore @@ -69,7 +69,7 @@ ynh_psql_execute_file_as_root ./db.sql "$db_name" #================================================= # Create the dedicated user (if not existing) -ynh_system_user_create $app +ynh_system_user_create "$app" "$final_path" #================================================= # RESTORE USER RIGHTS diff --git a/scripts/upgrade b/scripts/upgrade index cd3c8ab..2f42e4a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -98,7 +98,7 @@ ynh_install_nodejs 10 #================================================= # Create a dedicated user (if not existing) -ynh_system_user_create $app +ynh_system_user_create "$app" "$final_path" #================================================= # PHP-FPM CONFIGURATION