From ab9ad5192b5fe68e6eb5a5646c77631ddd979c66 Mon Sep 17 00:00:00 2001 From: redsolo Date: Tue, 25 Aug 2009 13:04:06 +0000 Subject: [PATCH] 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 --- debian/hudson.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/hudson.init b/debian/hudson.init index ab644507d9..fc4dfbb88c 100644 --- a/debian/hudson.init +++ b/debian/hudson.init @@ -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 } -- GitLab