mirror of https://github.com/jellyfin/jellyfin.git
Remove socket wrkaround
This commit is contained in:
parent
bdb1483167
commit
1c6b6f5d36
|
@ -335,13 +335,6 @@ namespace Jellyfin.Server
|
||||||
if (startupConfig.UseUnixSocket() && Environment.OSVersion.Platform == PlatformID.Unix)
|
if (startupConfig.UseUnixSocket() && Environment.OSVersion.Platform == PlatformID.Unix)
|
||||||
{
|
{
|
||||||
var socketPath = GetUnixSocketPath(startupConfig, appPaths);
|
var socketPath = GetUnixSocketPath(startupConfig, appPaths);
|
||||||
|
|
||||||
// Workaround for https://github.com/aspnet/AspNetCore/issues/14134
|
|
||||||
if (File.Exists(socketPath))
|
|
||||||
{
|
|
||||||
File.Delete(socketPath);
|
|
||||||
}
|
|
||||||
|
|
||||||
options.ListenUnixSocket(socketPath);
|
options.ListenUnixSocket(socketPath);
|
||||||
_logger.LogInformation("Kestrel listening to unix socket {SocketPath}", socketPath);
|
_logger.LogInformation("Kestrel listening to unix socket {SocketPath}", socketPath);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue