.net core window与linux服务自启动

//根据操作系统处理启动方式
//How to run a .NET Core console app as a service using Systemd on Linux
//https://swimburger.net/blog/dotnet/how-to-run-a-dotnet-core-console-app-as-a-service-using-systemd-on-linux
//https://csharp.christiannagel.com/2019/10/15/windowsservice/

 

sc create “Devcat Service” binPath=D:\devcat\DevCat.exe
sc query “Devcat Service”
sc start “Devcat Service”
sc stop“Devcat Service”
sc delete“Devcat Service”

.net core window与linux服务自启动

上一篇:BizTalk 安装管理 API


下一篇:AcWing第一场周赛题解