#!/bin/sh

# Run configutil on the Messaging Server at a specific root
#

PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/etc:${PATH}
SERVERROOT=<msg.RootPath>
INSTANCEDIR=${SERVERROOT}/config
CONFIGROOT=${SERVERROOT}/config
LD_LIBRARY_PATH=${SERVERROOT}/lib
export SERVERROOT INSTANCEDIR CONFIGROOT PATH LD_LIBRARY_PATH

${SERVERROOT}/lib/configutil "$@"
exit $?
