diff --git a/modules/ROOT/pages/installation/osx.adoc b/modules/ROOT/pages/installation/osx.adoc index c52139127..d06a6c549 100644 --- a/modules/ROOT/pages/installation/osx.adoc +++ b/modules/ROOT/pages/installation/osx.adoc @@ -109,14 +109,14 @@ Here are the steps to uninstall Neo4j on macOS: . Stop all Neo4j running services: + [source, shell] ---- +---- sudo systemctl stop neo4j sudo systemctl disable neo4j ---- +---- . Delete _NEO4J_HOME_ and the file _/lib/systemd/system/neo4j.service_: + [source, shell] ---- +---- rm /lib/systemd/system/neo4j.service rm -rf NEO4J_HOME ---- +---- diff --git a/modules/ROOT/pages/installation/windows.adoc b/modules/ROOT/pages/installation/windows.adoc index 935bf2729..ab412e161 100644 --- a/modules/ROOT/pages/installation/windows.adoc +++ b/modules/ROOT/pages/installation/windows.adoc @@ -260,12 +260,12 @@ Here are the steps to uninstall Neo4j on Windows: . Uninstall the Neo4j Windows service: + [source, shell] ---- +---- %NEO4J_HOME%\bin\neo4j windows-service uninstall ---- +---- . Delete _NEO4J_HOME_: + [source, shell] ---- +---- rmdir NEO4J_HOME ---- \ No newline at end of file +---- \ No newline at end of file