diff --git a/scripts/install b/scripts/install index 651120e..d980b89 100755 --- a/scripts/install +++ b/scripts/install @@ -173,7 +173,7 @@ ynh_add_nginx_config #================================================= # Create a system user -ynh_system_user_create $app +ynh_system_user_create "$app" "$final_path" #================================================= # PHP-FPM CONFIGURATION diff --git a/scripts/restore b/scripts/restore index f4cb4f9..12c349f 100755 --- a/scripts/restore +++ b/scripts/restore @@ -67,7 +67,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" #================================================= # RESTORE USER RIGHTS diff --git a/scripts/upgrade b/scripts/upgrade index 417d0fb..18ddb49 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -99,7 +99,7 @@ ynh_add_nginx_config #================================================= # Create a dedicated user (if not existing) -ynh_system_user_create $app +ynh_system_user_create "$app" "$final_path" #================================================= # PHP-FPM CONFIGURATION