November 2022
Intermediate to advanced
294 pages
5h 58m
English
It’s often easier to have a simple script to restart all services. This is the script I’ve been using, but you’ll need to customize it as appropriate.
| | #!/bin/bash |
| | |
| | ## BOOK |
| | |
| | export GRAPHS_HOME=/Users/tony/Projects/graphs |
| | |
| | ## BOOK - NEO4J |
| | |
| | export NEO4J_VERSION=4.4.5 |
| | export NEO4J_HOME=${GRAPHS_HOME}/neo4j/neo4j-community-${NEO4J_VERSION} |
| | export NEO4J_CONF=${NEO4J_HOME}/conf |
| | export PATH=${PATH}:$NEO4J_HOME/bin |
| | |
| | neo4j restart |
| | |
| | ## BOOK - GRAPHDB |
| | |
| | export GRAPHDB_VERSION=10.0.0 |
| | export GRAPHDB_HOME=${GRAPHS_HOME}/graphdb/graphdb-${GRAPHDB_VERSION} |
| | export PATH=${PATH}:$GRAPHDB_HOME/bin |
| | |
| | kill -9 `cat ${GRAPHDB_HOME}/pid.txt ... |
Read now
Unlock full access