From 7584a148d40dc68c60157cde202d7129b780f161 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 10 Oct 2021 07:40:53 +0200 Subject: [PATCH] Update install --- scripts/install | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/install b/scripts/install index d0cba8a..3a2bca9 100644 --- a/scripts/install +++ b/scripts/install @@ -64,6 +64,14 @@ ynh_script_progression --message="Installing dependencies..." --weight=2 # Install Nodejs ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version +#================================================= +# CREATE DEDICATED USER +#================================================= +ynh_script_progression --message="Configuring system user..." --weight=1 + +# Create a system user +ynh_system_user_create --username=$app --home_dir="$final_path" + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #=================================================