diff --git a/scripts/restore b/scripts/restore index 3196f5f..4d3ea70 100755 --- a/scripts/restore +++ b/scripts/restore @@ -43,6 +43,12 @@ test ! -d $final_path \ #================================================= # STANDARD RESTORATION STEPS #================================================= +# RECREATE THE DEDICATED USER +#================================================= +ynh_script_progression --message="Recreating the dedicated system user..." --weight=1 + +# Create the dedicated user (if not existing) +ynh_system_user_create --username=$app --home_dir="$final_path" #================================================= # RESTORE THE APP MAIN DIR