提交 ab9ad519 编写于 作者: R redsolo

Changed debian's init.d script so it sets the HOME env variable correctly.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21075 71c3de6d-444a-0410-be80-ed276b4c234a
上级 24605c3d
......@@ -62,7 +62,7 @@ do_start()
$DAEMON $DAEMON_ARGS --running && return 1
# --user in daemon doesn't prepare these environment variables, so do so now
export HOME=~$(HUDSON_USER)
eval export HOME=~$HUDSON_USER
export USER=$HUDSON_USER
$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.
先完成此消息的编辑!
想要评论请 注册