Replace NSSM with native Windows Service control #486

Closed
opened 2026-02-06 19:45:41 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @LogicalPhallacy on GitHub (Mar 4, 2019).

Is your feature request related to a problem? Please describe.
Despite the name NSSM sucks. It is a finicky hack to wrap a console app into a service and shouldn't really be used as the main mechanism to power a media server.

Describe the solution you'd like
Jellyfin should support installing itself as a windows service natively, which would then enable it to both be controlled by the standard windows service control mechanisms and hopefully control itself better on windows (self restarts spring to mind)

Describe alternatives you've considered
We can keep using NSSM or make a Windows DotNet 4.7 app that loads a process for jellyfin to live in. Both of these are maintainability headaches.

Originally created by @LogicalPhallacy on GitHub (Mar 4, 2019). **Is your feature request related to a problem? Please describe.** Despite the name NSSM sucks. It is a finicky hack to wrap a console app into a service and shouldn't really be used as the main mechanism to power a media server. **Describe the solution you'd like** Jellyfin should support installing itself as a windows service natively, which would then enable it to both be controlled by the standard windows service control mechanisms and hopefully control itself better on windows (self restarts spring to mind) **Describe alternatives you've considered** We can keep using NSSM or make a Windows DotNet 4.7 app that loads a process for jellyfin to live in. Both of these are maintainability headaches.
OVERLORD added the enhancementbackenddotnet future labels 2026-02-06 19:45:42 +03:00
Author
Owner

@LogicalPhallacy commented on GitHub (Mar 4, 2019):

While I had hoped to do this hand in hand with #431 there's a compelling argument to go earlier. After seeing some problems with NSSM on reddit and this option it might be worth doing now.

@LogicalPhallacy commented on GitHub (Mar 4, 2019): While I had hoped to do this hand in hand with #431 there's a compelling argument to go earlier. After seeing some [problems with NSSM on reddit](https://www.reddit.com/r/jellyfin/comments/awxwxn/jellyfin_service_refuses_to_start/) and [this option](https://github.com/PeterKottas/DotNetCore.WindowsService) it might be worth doing now.
Author
Owner

@anthonylavado commented on GitHub (Mar 4, 2019):

@logicalphallacy - I can look at this too. Let me know if you’ve started anything or not.

@anthonylavado commented on GitHub (Mar 4, 2019): @logicalphallacy - I can look at this too. Let me know if you’ve started anything or not.
Author
Owner
@sevenrats commented on GitHub (Oct 4, 2023): moved to https://features.jellyfin.org/posts/2352/replace-nssm-with-native-windows-service-control
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#486