From 4dc0350e59d32d55449451a4c7b53188dac59fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Fri, 12 Nov 2021 12:02:25 +0800 Subject: [PATCH] add systemd --- FastGithub/FastGithub.csproj | 1 + FastGithub/Program.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/FastGithub/FastGithub.csproj b/FastGithub/FastGithub.csproj index fe216d8..6aeb733 100644 --- a/FastGithub/FastGithub.csproj +++ b/FastGithub/FastGithub.csproj @@ -9,6 +9,7 @@ + diff --git a/FastGithub/Program.cs b/FastGithub/Program.cs index 4bb4e00..8a724c7 100644 --- a/FastGithub/Program.cs +++ b/FastGithub/Program.cs @@ -29,6 +29,7 @@ namespace FastGithub { return Host .CreateDefaultBuilder(args) + .UseSystemd() .UseWindowsService() .UseDefaultServiceProvider(c => {