#!/bin/sh

# refresh the configuration for this instance of the Messaging Server
#
# usage: ./refresh [components]
#
# where components is one of smtp, imap, pop, store, or http
#

SERVERROOT=<msg.RootPath>
CONFIGROOT=${SERVERROOT}/config
export CONFIGROOT SERVERROOT

# LIBPATH is set for AIX 4+
# SHLIB_PATH is set for HPUX 11+
# LD_LIBRARY_PATH used for Solaris 2.5+, SCO Unix, IRIX, Linux
ADDPATH=${SERVERROOT}/lib
LD_LIBRARY_PATH=${ADDPATH}:${LD_LIBRARY_PATH}
LIBPATH=${ADDPATH}:${LIBPATH}
SHLIB_PATH=${ADDPATH}:${SHLIB_PATH}
SUID_OK_LIBPATH=${LIBPATH}
export LD_LIBRARY_PATH LIBPATH SHLIB_PATH SUID_OK_LIBPATH

${SERVERROOT}/lib/msstart -f $*
