aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Configuration/StartupMode.cs
blob: e1d18f1dd6b29a5a9a7874dcde0af4a61ac53357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}