From be45aa443b46fb46a89d6dce0f569917ac7b7505 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 24 Oct 2019 20:13:53 +0200 Subject: [PATCH] Fix home_dir --- scripts/install | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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