aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorAndrew Rabert <6550543+nvllsvm@users.noreply.github.com>2019-01-24 23:02:20 -0500
committerGitHub <noreply@github.com>2019-01-24 23:02:20 -0500
commit48ad18d12baeeb42ec0ec7df9473330dcbc76754 (patch)
treed09db721f60f79423f98110e2dc15051787945dc /Jellyfin.Server/Program.cs
parentfe197415cac19c0e4005c52761c5e7a37b8a4557 (diff)
parent905a253ff5ce2eeee9806b7a4581506468b2fb55 (diff)
Merge pull request #452 from Bond-009/activitydb
Use EF Core for Activity database
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index c196a3f23..fef7de512 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -99,7 +99,7 @@ namespace Jellyfin.Server
new SystemEvents(),
new NetworkManager(_loggerFactory, environmentInfo)))
{
- appHost.Init();
+ await appHost.InitAsync();
appHost.ImageProcessor.ImageEncoder = GetImageEncoder(fileSystem, appPaths, appHost.LocalizationManager);
@@ -108,7 +108,6 @@ namespace Jellyfin.Server
await appHost.RunStartupTasks();
// TODO: read input for a stop command
-
try
{
// Block main thread until shutdown
@@ -167,7 +166,6 @@ namespace Jellyfin.Server
{
Directory.CreateDirectory(programDataPath);
}
-
string configDir = Environment.GetEnvironmentVariable("JELLYFIN_CONFIG_DIR");
if (string.IsNullOrEmpty(configDir))
{