The Free Software Media System - Server Backend & API
Add the "service" argument to the service parameters
Anthony Lavadocfaf2b97fe1b
diff --git a/deployment/windows/jellyfin.nsi b/deployment/windows/jellyfin.nsiindex 4b3272e3f5..cda589d256 100644--- a/deployment/windows/jellyfin.nsi+++ b/deployment/windows/jellyfin.nsi@@ -196,7 +196,7 @@ ${If} $_INSTALLSERVICE_ == "Yes" ; Only run this if we're going to install the sDetailPrint "Jellyfin Server service statuscode, $0"${If} $0 == 0InstallRetry:- ExecWait '"$INSTDIR\nssm.exe" install JellyfinServer "$INSTDIR\jellyfin.exe" --datadir \"$_JELLYFINDATADIR_\"' $0+ ExecWait '"$INSTDIR\nssm.exe" install JellyfinServer "$INSTDIR\jellyfin.exe" --service --datadir \"$_JELLYFINDATADIR_\"' $0${If} $0 <> 0!insertmacro ShowError "Could not install the Jellyfin Server service." InstallRetry${EndIf}@@ -212,7 +212,7 @@ ${If} $_INSTALLSERVICE_ == "Yes" ; Only run this if we're going to install the sDetailPrint "Jellyfin Server Service setting (Application), $0"ConfigureAppParametersRetry:- ExecWait '"$INSTDIR\nssm.exe" set JellyfinServer AppParameters --datadir \"$_JELLYFINDATADIR_\"' $0+ ExecWait '"$INSTDIR\nssm.exe" set JellyfinServer AppParameters --service --datadir \"$_JELLYFINDATADIR_\"' $0${If} $0 <> 0!insertmacro ShowError "Could not configure the Jellyfin Server service." ConfigureAppParametersRetry${EndIf}