diff --git a/scripts/upgrade b/scripts/upgrade index ca26084..c413dab 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -79,6 +79,7 @@ if [[ $migration_process -eq 1 ]]; then final_path="/var/www/$app" # Replace the user + pkill -u someuser ynh_system_user_delete $old_app ynh_system_user_create --username=$app --home_dir="$final_path" fi