Skip to content

Commit

Permalink
Add systemd integration
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangiebel committed Jun 1, 2024
1 parent ee024bd commit 1e1364f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SS14.MapServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@
builder.Host.UseSerilog((ctx, cfg) => cfg.ReadFrom.Configuration(ctx.Configuration));
builder.Logging.AddSerilog();

builder.Host.UseSystemd();

if (serverConfiguration.EnableSentry)
builder.WebHost.UseSentry();

Expand Down
1 change: 1 addition & 0 deletions SS14.MapServer/SS14.MapServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="8.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.0" />
<PackageReference Include="MimeTypeMapOfficial" Version="1.0.17" />
<PackageReference Include="NetEscapades.Configuration.Yaml" Version="3.1.0" />
Expand Down

0 comments on commit 1e1364f

Please sign in to comment.