mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-13 12:16:49 +01:00
25 lines
661 B
C#
25 lines
661 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 system only then shuts down.
|
|
/// </summary>
|
|
MigrateSystem = 1,
|
|
|
|
/// <summary>
|
|
/// Runs the Database seed function regardless of <see cref="BaseApplicationConfiguration.IsStartupWizardCompleted"/> state.
|
|
/// </summary>
|
|
SeedSystem = 2
|
|
}
|