File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff 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
1617if [ -f ${SLOCK} ];
1718then
1819 echo Sopping Service...
19- SLOCK=/tmp/service.lock
2020 SPID=` cat ${SLOCK} `
2121 while [ -f ${SLOCK} ] && kill ${SPID} ; do
2222 sleep 0.5
2727 fi
2828fi
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
3634cd Site
You can’t perform that action at this time.
0 commit comments