We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2748ae7 commit 7b8867bCopy full SHA for 7b8867b
scripts/startNeo4j.sh
@@ -50,7 +50,7 @@ if [ -n "${neo4jNotRunning}" ]; then
50
51
# Check if there is already a process that listens to the Neo4j HTTP port
52
port_listener_process_id=$( lsof -t -i:"${NEO4J_HTTP_PORT}" -sTCP:LISTEN || true )
53
- if [ -z "${port_listener_process_id}" ]; then
+ if [ -n "${port_listener_process_id}" ]; then
54
echo "startNeo4j: There is already a process that listens to port ${NEO4J_HTTP_PORT}"
55
ps -p "${port_listener_process_id}"
56
echo "startNeo4j: Use this command to stop it: kill -9 \$( lsof -t -i:${NEO4J_HTTP_PORT} -sTCP:LISTEN )"
0 commit comments