[PR #3171] [CLOSED] Restart Server In-Process #9363

Closed
opened 2026-02-07 06:00:53 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/3171
Author: @mark-monteiro
Created: 5/25/2020
Status: Closed

Base: masterHead: support-server-restart


📝 Commits (4)

  • 0c46dbe Dispose web host on app shutdown
  • 936a49a Restart server in the same process instead of spawning a new one
  • ca4a286 Remove CanSelfRestart since all platforms can now restart
  • 51fc424 Add additional remarks to comments in PerformStaticInitialization

📊 Changes

4 files changed (+31 additions, -76 deletions)

View changed files

📝 Emby.Server.Implementations/ApplicationHost.cs (+0 -11)
📝 Jellyfin.Server/Program.cs (+31 -53)
📝 MediaBrowser.Common/IApplicationHost.cs (+0 -6)
📝 MediaBrowser.Model/System/SystemInfo.cs (+0 -6)

📄 Description

Changes
Update the server restart process to restart the server without spawning a new process.

NOTE: This is a breaking change because the CanSelfRestart property has been removed from the SystemInfo class. Clients use this to conditionally display the server restart button.

The breaking change for the web client is handled in https://github.com/jellyfin/jellyfin-web/pull/1293


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/3171 **Author:** [@mark-monteiro](https://github.com/mark-monteiro) **Created:** 5/25/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `support-server-restart` --- ### 📝 Commits (4) - [`0c46dbe`](https://github.com/jellyfin/jellyfin/commit/0c46dbec1c9124f0e60faaf4e738d64b949b1ac1) Dispose web host on app shutdown - [`936a49a`](https://github.com/jellyfin/jellyfin/commit/936a49a0da0a3ee778af1ffa3b66043ca357019b) Restart server in the same process instead of spawning a new one - [`ca4a286`](https://github.com/jellyfin/jellyfin/commit/ca4a286ad0f321c2d129962562a03c3589ac10c5) Remove CanSelfRestart since all platforms can now restart - [`51fc424`](https://github.com/jellyfin/jellyfin/commit/51fc4246e9c703478f884677bbe4447ad55ddbab) Add additional remarks to comments in PerformStaticInitialization ### 📊 Changes **4 files changed** (+31 additions, -76 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/ApplicationHost.cs` (+0 -11) 📝 `Jellyfin.Server/Program.cs` (+31 -53) 📝 `MediaBrowser.Common/IApplicationHost.cs` (+0 -6) 📝 `MediaBrowser.Model/System/SystemInfo.cs` (+0 -6) </details> ### 📄 Description **Changes** Update the server restart process to restart the server without spawning a new process. **NOTE: This is a breaking change because the `CanSelfRestart` property has been removed from the `SystemInfo` class. Clients use this to conditionally display the server restart button.** The breaking change for the web client is handled in https://github.com/jellyfin/jellyfin-web/pull/1293 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:00:53 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9363