diff --git a/Jellyfin.Server/Extensions/WebHostBuilderExtensions.cs b/Jellyfin.Server/Extensions/WebHostBuilderExtensions.cs index 7695c0d9ee..5de9ad3c70 100644 --- a/Jellyfin.Server/Extensions/WebHostBuilderExtensions.cs +++ b/Jellyfin.Server/Extensions/WebHostBuilderExtensions.cs @@ -84,6 +84,9 @@ public static class WebHostBuilderExtensions options.ListenUnixSocket(socketPath); logger.LogInformation("Kestrel listening to unix socket {SocketPath}", socketPath); } + + // look for LISTEN_FDS and listen on those sockets + KestrelServerOptionsSystemdExtensions.UseSystemd(options); }) .UseStartup(context => new Startup(appHost, context.Configuration)); }