diff options
Diffstat (limited to 'run-local.sh')
| -rwxr-xr-x | run-local.sh | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/run-local.sh b/run-local.sh index 39c1580b..6cbb3568 100755 --- a/run-local.sh +++ b/run-local.sh @@ -1,13 +1,8 @@ #!/bin/sh -if [ `uname` == "Darwin" ]; then - neo4j_count=`netstat -na -ptcp 2>/dev/null | grep 7474 | wc -l` -else - neo4j_count=`netstat -ltnop 2>/dev/null | grep 7474 | wc -l` -fi -if [ $neo4j_count == "0" ]; then - echo run neo4j please - exit 0 -fi +. tools/utils.sh + +quit_if_no_neo4j_running + CONFIG=res/etc/rhizi-server.conf EXAMPLE=res/etc/rhizi-server.conf.example HTPASSWD=res/etc/htpasswd |
