X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=zebra%2FMakefile;h=35a4a2584a0664af03d2524be57e7ae76678152c;hp=71c9b9af7d478bccb009b827eee1580630f6f3ce;hb=40cd3883c8439e3374d9b3b229a19517cbef4422;hpb=635a41236ecd2bae387f4648eeae98ba29f27641 diff --git a/zebra/Makefile b/zebra/Makefile index 71c9b9a..35a4a25 100644 --- a/zebra/Makefile +++ b/zebra/Makefile @@ -53,7 +53,17 @@ dump: clean: rm -f terse.properties -start-zebra: +check-running-zebrasrv: + @if zoomsh -e "open localhost:8018" "quit" >/dev/null; then \ + echo ""; \ + echo "There is already a running zebrasrv on localhost:8018"; \ + echo "You may need to run: killall zebrasrv-2.0"; \ + false; \ + else \ + true; \ + fi + +start-zebra: check-running-zebrasrv zebrasrv-2.0 -f $$(pwd)/yazserver.xml > ${ZEBRA_LOGFILE} 2>&1 & stop-zebra: