Manage Kestrel process with systemd
Manage Kestrel process with systemd Kestrel is a lightweight standalone process. In order to host it on Linux, the recommended approach is to install it as a service. Systemd is a group of tools providing functionalities to manage processes on Ubuntu. Today we will see how we can manage an ASP NET Core application together with its Kestrel process using systemd tools. This post will be composed of three parts: Introduction Managing process with systemctl Debugging using journalctl 1. Introduction ASP NET Core application runs on top of Kestrel which is a lightweight standalone webserver. To be able to start to interact with our Ubuntu server we need to first establish an ssh connection. If you aren’t familiar with ssh, you can refer to my previous blog post where I provide explanations on how to setup ssh . Once we are on the server, we can get our libraries on the server and run: /usr/share/dotnet/dotnet myapp.dll This will run the app from the current session. When we ex...