Looking in sipXopenfire/sipxopenfire.sh.in, there is this assignment for
use as a temporary directory:

TMP_DIR="/tmp"

I think it would be preferable to use SIP_TMPDIR as the temporary
directory via:

TMP_DIR="@SIPX_TMPDIR@"


Also, looking at where this variable is used:

        echo "conf.d...@sipx_confdir@" > ${TMP_DIR}/sipx.properties
        echo "openfire.home=${OPENFIRE_HOME}" >> ${TMP_DIR}/sipx.properties
        exec ${OPENFIRE_HOME}/${OPENFIRE} start

I see that the code writes configuration information into
${TMP_DIR}/sipx.properties, but I don't see what directs Openfire to
read that particular file -- is it hard-coded in the Openfire
executable?

Dale


_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to