提交 33eac8d6 编写于 作者: K kohsuke

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
上级 27f8c5a6
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
The following value assumes that you have java in your PATH. The following value assumes that you have java in your PATH.
--> -->
<executable>@JAVA@</executable> <executable>@JAVA@</executable>
<arguments>-jar "%BASE%\slave.jar" -jnlpUrl @URL@</arguments> <arguments>-Xrs -jar "%BASE%\slave.jar" -jnlpUrl @URL@</arguments>
<!-- <!--
interactive flag causes the empty black Java window to be displayed. interactive flag causes the empty black Java window to be displayed.
I'm still debugging this. I'm still debugging this.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
The following value assumes that you have java in your PATH. The following value assumes that you have java in your PATH.
--> -->
<executable>java</executable> <executable>java</executable>
<arguments>-Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\hudson.war" --httpPort=8080</arguments> <arguments>-Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\hudson.war" --httpPort=8080</arguments>
<!-- <!--
interactive flag causes the empty black Java window to be displayed. interactive flag causes the empty black Java window to be displayed.
I'm still debugging this. I'm still debugging this.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册