How do .NET Core services interact with Systemd to identify that service is frozen?
I developed a .NET 6.0 service that executes functions that execute in a fixed interval of time. I used timers to start functions. But I detect sometimes that the service stops to execute this functions, but when I checked in systemd, the service keeps running. I read about ways to notify systemd, send keep-alive signal and in the absence of this signal, systemd identify that service is frozen and then, the systemd restart the system. I configure the service like this: [Service] ExecStart=/usr/bin/dotnet /path-to-app.dll Restart=on-failure RestartSec=5 WatchdogSec=30 NotifyAccess=all Type=noti
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.