1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

#156 - Allow server to run as a service

This commit is contained in:
Luke Pulverenti 2013-09-30 11:15:47 -04:00
parent a2dba21264
commit 5aea7b2c6a
2 changed files with 11 additions and 0 deletions

View file

@ -14,6 +14,9 @@
<li> <li>
<input type="checkbox" id="chkRunAtStartup" name="chkRunAtStartup" /> <input type="checkbox" id="chkRunAtStartup" name="chkRunAtStartup" />
<label for="chkRunAtStartup">Run server at startup</label> <label for="chkRunAtStartup">Run server at startup</label>
<div id="windowsStartupDescription" class="fieldDescription warningFieldDescription" style="display: none;">
This will start the tray icon on windows startup. If you'd prefer to start the windows service instead, disable this and configure the service from the control panel.
</div>
</li> </li>
<li> <li>
<label for="selectAutomaticUpdateLevel">Automatic update level</label> <label for="selectAutomaticUpdateLevel">Automatic update level</label>

View file

@ -2,6 +2,14 @@
function loadPage(page, config, systemInfo) { function loadPage(page, config, systemInfo) {
var os = systemInfo.OperatingSystem.toLowerCase();
if (os.indexOf('windows') != -1) {
$('#windowsStartupDescription', page).show();
} else {
$('#windowsStartupDescription', page).hide();
}
if (systemInfo.SupportsNativeWebSocket) { if (systemInfo.SupportsNativeWebSocket) {
$('#fldWebSocketPortNumber', page).hide(); $('#fldWebSocketPortNumber', page).hide();