mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-21 16:17:00 +01:00
25 lines
676 B
C#
25 lines
676 B
C#
using MediaBrowser.Model.Configuration;
|
|
|
|
namespace Jellyfin.Server.Configuration;
|
|
|
|
/// <summary>
|
|
/// Defines types for usage with the <see cref="StartupOptions.StartupMode"/>.
|
|
/// </summary>
|
|
public enum StartupMode
|
|
{
|
|
/// <summary>
|
|
/// Default startup mode, runs the jellyfin server in normal operation.
|
|
/// </summary>
|
|
MediaServer = 0,
|
|
|
|
/// <summary>
|
|
/// Attempts to Migrate the selected database only then shuts down.
|
|
/// </summary>
|
|
MigrateDatabase = 1,
|
|
|
|
/// <summary>
|
|
/// Runs the Database seed function regardless of <see cref="BaseApplicationConfiguration.IsStartupWizardCompleted"/> state.
|
|
/// </summary>
|
|
SeedDatabase = 2
|
|
}
|