diff -Nurd nexus-oss-webapp-1.9.2.4/bin/jsw/conf/wrapper.conf nexus-oss-webapp-1.9.2.4-new/bin/jsw/conf/wrapper.conf --- nexus-oss-webapp-1.9.2.4/bin/jsw/conf/wrapper.conf 2011-12-20 16:32:52.000000000 -0500 +++ nexus-oss-webapp-1.9.2.4-new/bin/jsw/conf/wrapper.conf 2011-12-22 12:32:14.000000000 -0500 @@ -22,14 +22,14 @@ wrapper.java.mainclass=org.codehaus.plexus.classworlds.launcher.Launcher # The JVM classpath -wrapper.java.classpath.1=bin/jsw/lib/wrapper-3.2.3.jar -wrapper.java.classpath.2=./runtime/apps/nexus/lib/plexus-classworlds-*.jar -wrapper.java.classpath.3=./conf/ +wrapper.java.classpath.1=@FINKPREFIX@/lib/nexus/bin/jsw/lib/wrapper-3.2.3.jar +wrapper.java.classpath.2=@FINKPREFIX@/lib/nexus/runtime/apps/nexus/lib/plexus-classworlds-*.jar +wrapper.java.classpath.3=@FINKPREFIX@/lib/nexus/conf/ # Additional JVM parameters (tune if needed, but match the sequence of numbers!) wrapper.java.additional.1=-Dsun.net.inetaddr.ttl=3600 -wrapper.java.additional.2=-Dbasedir=. -wrapper.java.additional.3=-Djava.io.tmpdir=./runtime/tmp +wrapper.java.additional.2=-Dbasedir=@FINKPREFIX@/lib/nexus +wrapper.java.additional.3=-Djava.io.tmpdir=/tmp/nexus #wrapper.java.additional.4=-Xdebug #wrapper.java.additional.5=-Xnoagent #wrapper.java.additional.6=-Djava.compiler=NONE @@ -53,7 +53,7 @@ wrapper.on_exit.12=RESTART # Set up JSW logging -wrapper.logfile=logs/wrapper.log +wrapper.logfile=@FINKPREFIX@/var/log/nexus/wrapper.log wrapper.logfile.format=PM wrapper.logfile.loglevel=INFO wrapper.logfile.maxsize=10m @@ -119,6 +119,9 @@ # Application parameters. Add parameters as needed starting from 1 #wrapper.app.parameter.1= +wrapper.java.pidfile=@FINKPREFIX@/var/run/nexus/wrapper-java.pid +wrapper.pidfile=@FINKPREFIX@/var/run/nexus/wrapper.pid + # ******************************************************************** # Wrapper Logging Properties # ******************************************************************** diff -Nurd nexus-oss-webapp-1.9.2.4/bin/jsw/macosx-universal-32/nexus nexus-oss-webapp-1.9.2.4-new/bin/jsw/macosx-universal-32/nexus --- nexus-oss-webapp-1.9.2.4/bin/jsw/macosx-universal-32/nexus 2011-12-20 16:32:51.000000000 -0500 +++ nexus-oss-webapp-1.9.2.4-new/bin/jsw/macosx-universal-32/nexus 2011-12-22 12:28:21.000000000 -0500 @@ -23,7 +23,7 @@ PRIORITY= # Location of the pid file. -PIDDIR="." +PIDDIR="@FINKPREFIX@/var/run/nexus" # If uncommented, causes the Wrapper to be shutdown using an anchor file. # When launched with the 'start' command, it will also ignore all INT and diff -Nurd nexus-oss-webapp-1.9.2.4/bin/jsw/macosx-universal-64/nexus nexus-oss-webapp-1.9.2.4-new/bin/jsw/macosx-universal-64/nexus --- nexus-oss-webapp-1.9.2.4/bin/jsw/macosx-universal-64/nexus 2011-12-20 16:32:52.000000000 -0500 +++ nexus-oss-webapp-1.9.2.4-new/bin/jsw/macosx-universal-64/nexus 2011-12-22 12:28:26.000000000 -0500 @@ -23,7 +23,7 @@ PRIORITY= # Location of the pid file. -PIDDIR="." +PIDDIR="@FINKPREFIX@/var/run/nexus" # If uncommented, causes the Wrapper to be shutdown using an anchor file. # When launched with the 'start' command, it will also ignore all INT and diff -Nurd nexus-oss-webapp-1.9.2.4/conf/plexus.properties nexus-oss-webapp-1.9.2.4-new/conf/plexus.properties --- nexus-oss-webapp-1.9.2.4/conf/plexus.properties 2011-12-20 16:32:49.000000000 -0500 +++ nexus-oss-webapp-1.9.2.4-new/conf/plexus.properties 2011-12-22 12:29:02.000000000 -0500 @@ -2,13 +2,13 @@ application-host=0.0.0.0 runtime=${basedir}/runtime apps=${runtime}/apps -nexus-work=${basedir}/../sonatype-work/nexus +nexus-work=@FINKPREFIX@/var/run/nexus nexus-app=${runtime}/apps/nexus webapp=${runtime}/apps/nexus/webapp webapp-context-path=/nexus security-xml-file=${nexus-work}/conf/security.xml application-conf=${nexus-work}/conf -runtime-tmp=${runtime}/tmp +runtime-tmp=/tmp/nexus # If this file is present, it will be used to configure Jetty. jetty.xml=${basedir}/conf/jetty.xml