Skip to content

Commit c225908

Browse files
committed
minor bug fixing
1 parent e3372fa commit c225908

File tree

1 file changed

+2
-4
lines changed
  • NodeStackProxy

1 file changed

+2
-4
lines changed

NodeStackProxy/run

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ SERVICE_WORKINGDIR=`cd ${DIR}/Service/bin/Release/; pwd`
1313
$MONO_PREFIX/bin/xbuild Service/Service.sln /p:Configuration=Release /flp:LogFile=msbuild.log
1414

1515
# stop service if needed
16+
SLOCK=/tmp/service.lock
1617
if [ -f ${SLOCK} ];
1718
then
1819
echo Sopping Service...
19-
SLOCK=/tmp/service.lock
2020
SPID=`cat ${SLOCK}`
2121
while [ -f ${SLOCK} ] && kill ${SPID}; do
2222
sleep 0.5
@@ -27,10 +27,8 @@ then
2727
fi
2828
fi
2929

30-
#$MONO_PREFIX/bin/mono Service/bin/Release/Service.exe
31-
3230
# run service using port 8090
33-
$MONO_PREFIX/bin/mono-service -m:service -d:${SERVICE_WORKINGDIR} -l:${SLOCK} ${SERVICE_WORKINGDIR}/Service.exe
31+
$MONO_PREFIX/bin/mono-service -m:service -d:${SERVICE_WORKINGDIR} -l:${SLOCK} ${SERVICE_WORKINGDIR}/Service.exe &
3432

3533
# run site using port 8080
3634
cd Site

0 commit comments

Comments
 (0)