diff --git a/scripts/install b/scripts/install index 56e6685..aa37bd1 100644 --- a/scripts/install +++ b/scripts/install @@ -125,7 +125,7 @@ ynh_add_nginx_config ynh_print_info --message="Configuring system user..." # Create a system user -ynh_system_user_create --username=$app +ynh_system_user_create --username=$app --home_dir=$final_path #================================================= # SPECIFIC SETUP diff --git a/scripts/restore b/scripts/restore index 36f36e5..927db52 100644 --- a/scripts/restore +++ b/scripts/restore @@ -66,7 +66,7 @@ ynh_restore_file --origin_path="$final_path" ynh_print_info --message="Recreating the dedicated system user..." # Create the dedicated user (if not existing) -ynh_system_user_create --username=$app +ynh_system_user_create --username=$app --home_dir=$final_path #================================================= # RESTORE USER RIGHTS