From 1ea8886204ba900aaf5bf15461a4e73ac5d76167 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 2 Jun 2021 09:37:29 +0200 Subject: [PATCH] Update install --- scripts/install | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/scripts/install b/scripts/install index b65d5b6..b5bb202 100755 --- a/scripts/install +++ b/scripts/install @@ -80,11 +80,11 @@ ynh_exec_warn_less yunohost firewall allow Both $turn_port ynh_exec_warn_less yunohost firewall allow UDP -4 49152:65535 #================================================= -# RECREATE THE DEDICATED USER +# CREATE DEDICATED USER #================================================= -ynh_script_progression --message="Recreating the dedicated system user..." --weight=2 +ynh_script_progression --message="Configuring system user..." --weight=3 -# Create the dedicated user (if not existing) +# Create a system user ynh_system_user_create --username=$app --home_dir="$final_path" #================================================= @@ -122,14 +122,6 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=2 # Create a dedicated NGINX config ynh_add_nginx_config -#================================================= -# CREATE DEDICATED USER -#================================================= -ynh_script_progression --message="Configuring system user..." --weight=3 - -# Create a system user -ynh_system_user_create --username=$app --home_dir="$final_path" - #================================================= # SETUP SYSTEMD #=================================================