Have to create .profile file for user archiva
---------------------------------------------

                 Key: MRM-794
                 URL: http://jira.codehaus.org/browse/MRM-794
             Project: Archiva
          Issue Type: Bug
    Affects Versions: 1.0.2
         Environment: Linux example 2.6.18-6-486 #1 Sun Feb 10 22:06:33 UTC 
2008 i686 GNU/Linux

            Reporter: Martin Burger


I want to run Archiva as another user named archiva (RUN_AS_USER=archiva). I 
have to create the file $HOME/.profile for user archiva in order to set some 
environment variables:

export PLEXUS_BASE=/var/archiva
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
export TOOLS_JAR="${JAVA_HOME}/lib/tools.jar"

Otherwise, Archiva won't start. I think the file bin/linux-x86-32/run.sh should 
do the job. If RUN_AS_USER is set, a new login shell is created and within that 
one the wrapper is run.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to