Commit b50ad5e9 authored by 's avatar

Corrected start of mapid and mapicommd as daemons


git-svn-id: file:///home/svn/mapi/trunk@1231 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent bf1e5603
......@@ -35,8 +35,8 @@ export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAPI_DIR=@MAPI_DIR@
ABW_DIR=@ABW_DIR@
MAPID="${MAPI_DIR}/sbin/mapid -d"
MAPICOMMD="${MAPI_DIR}/sbin/mapicommd -d"
MAPID=${MAPI_DIR}/sbin/mapid
MAPICOMMD=${MAPI_DIR}/sbin/mapicommd
usage() {
echo "Usage: mapi.sh [ -d ] { start | stop | restart }"
......@@ -72,7 +72,7 @@ case "$1" in
if [ $PROCESSES_MAPID -eq 0 ]; then
echo restarting mapid
$MAPID 2>&1 > /dev/null
$MAPID -d 2>&1 > /dev/null
else
echo mapid already running
fi
......@@ -83,7 +83,7 @@ case "$1" in
if [ $PROCESSES_MAPICOMMD -eq 0 ]; then
echo restarting mapicommd
$MAPICOMMD 2>&1 > /dev/null
$MAPICOMMD -d 2>&1 > /dev/null
else
echo mapicommd already running
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment