From 33eac8d684f3203a558cec1df3fa983938cd104d Mon Sep 17 00:00:00 2001 From: kohsuke Date: Wed, 1 Oct 2008 17:06:01 +0000 Subject: [PATCH] Fixed a bug where Hudson installed as service gets killed when the interactive user logs off. See http://weblogs.java.net/blog/kohsuke/archive/2008/09/winsw_windows_s.html git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12442 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/resources/windows-service/hudson-slave.xml | 2 +- core/src/main/resources/windows-service/hudson.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/resources/windows-service/hudson-slave.xml b/core/src/main/resources/windows-service/hudson-slave.xml index 71e910d5ea..41a18cb906 100644 --- a/core/src/main/resources/windows-service/hudson-slave.xml +++ b/core/src/main/resources/windows-service/hudson-slave.xml @@ -13,7 +13,7 @@ The following value assumes that you have java in your PATH. --> @JAVA@ - -jar "%BASE%\slave.jar" -jnlpUrl @URL@ + -Xrs -jar "%BASE%\slave.jar" -jnlpUrl @URL@ java - -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\hudson.war" --httpPort=8080 + -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\hudson.war" --httpPort=8080