On Tue, Mar 19, 2013 at 12:37:46PM -0400, Ian Darwin wrote: > On Tue, Mar 19, 2013 at 12:08:33PM -0400, mats.soderst...@mail.com wrote: > > In /etc/rc.d/openfire: > > > > JAVACMD="$(javaPathHelper -c openfire)" > > JAVA_HOME="$(javaPathHelper -h openfire)" > > > > Need to be: > > > > JAVACMD="$(/usr/local/bin/javaPathHelper -c openfire)" > > JAVA_HOME="$(/usr/local/bin/javaPathHelper -h openfire)" > > No, they don't. You need to add /usr/local/bin to the default path > in login.conf. We don't build absolute paths into scripts.
We need the full path here. That is because /etc/rc sets a PATH that does not contain /usr/local (for obvious reasons). So the script would work interactively after boot, but not on startup. FYI I fixed this more than 2 weeks ago. -- Antoine