diff --git a/scripts/install b/scripts/install index 16708fa..70ad9a1 100644 --- a/scripts/install +++ b/scripts/install @@ -126,7 +126,7 @@ ynh_add_nginx_config #================================================= # Create a dedicated system user -ynh_system_user_create $app +ynh_system_user_create $app $final_path #================================================= # SPECIFIC SETUP diff --git a/scripts/restore b/scripts/restore index be3c222..aa151a1 100644 --- a/scripts/restore +++ b/scripts/restore @@ -79,7 +79,7 @@ ynh_mysql_connect_as $db_name $db_pwd $db_name < ./db.sql #================================================= # Create the dedicated user (if not existing) -ynh_system_user_create $app +ynh_system_user_create $app $final_path #================================================= # SPECIFIC RESTORE diff --git a/scripts/upgrade b/scripts/upgrade index 6aca4d3..a57ce2b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -242,7 +242,7 @@ fi #================================================= # Create a dedicated user (if not existing) -ynh_system_user_create $app +ynh_system_user_create $app $final_path #================================================= # SECURING FILES AND DIRECTORIES