dotnet 7 service not starting

Getting error while starting the dotnet 7 service:

Failed to execute command: No such file or directory

Failed at step EXEC spawning /usr/bin/dotnet: No such file or directory

The solution is to install the dotnet 7 service from scratch since /usr/bin/dotnet folder doesn’t exist based on the above error