提交 847aefde 编写于 作者: K Kohsuke Kawaguchi

should parse ~/.profile

上级 fa9d4cc6
......@@ -43,6 +43,8 @@ Upcoming changes</a>
<li class=bug>
" (from WhateverTest)" gratuitously appended to test result detail pages.
(<a href="http://issues.hudson-ci.org/browse/HUDSON-5655">issue 5655</a>)
<li class=rfe>
Debian package init script now honors <tt>~/.profile</tt>.
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -104,7 +104,7 @@ do_start()
# --user in daemon doesn't prepare environment variables like HOME, USER, LOGNAME or USERNAME,
# so we let su do so for us now
$SU $HUDSON_USER --shell=/bin/bash -c "$DAEMON $DAEMON_ARGS -- $JAVA $JAVA_ARGS -jar $HUDSON_WAR $HUDSON_ARGS" || return 2
$SU -l $HUDSON_USER --shell=/bin/bash -c "$DAEMON $DAEMON_ARGS -- $JAVA $JAVA_ARGS -jar $HUDSON_WAR $HUDSON_ARGS" || return 2
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册