From 2c9fada199ad637920adefcb0cf210417928c889 Mon Sep 17 00:00:00 2001
From: Michael Boniface <mjb@it-innovation.soton.ac.uk>
Date: Mon, 13 Aug 2018 23:31:35 +0000
Subject: [PATCH] Update install-neo4j.sh

---
 scripts/clmc-service/install-neo4j.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/clmc-service/install-neo4j.sh b/scripts/clmc-service/install-neo4j.sh
index 29b7398..83d0cbd 100755
--- a/scripts/clmc-service/install-neo4j.sh
+++ b/scripts/clmc-service/install-neo4j.sh
@@ -35,6 +35,8 @@ echo "neo4j ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
 # the following set of commands install everything as neo4j with some run as sudo.
 # Expected to only have to run the install as neo4j however it does not work unless all of these are
 # run as neo4j. hence the weird su neo4j -c "sudo..."
+
+echo "----->Installing neo4j"
 su neo4j -c "sudo apt-get install neo4j=1:3.4.0 -y"
 
 su neo4j -c "sed -i s/\#dbms.connectors.default_listen_address=0.0.0.0/dbms.connectors.default_listen_address=0.0.0.0/g /etc/neo4j/neo4j.conf"
@@ -48,6 +50,7 @@ su neo4j -c "sudo systemctl enable neo4j"
 su neo4j -c "sudo systemctl start neo4j"
 
 ### waiting for the service to start
+echo "----->Waiting for neo4j service to start"
 end="$((SECONDS+60))"
 while true; do
     nc -w 2 localhost 7687 && break
@@ -55,6 +58,7 @@ while true; do
     sleep 1
 done
 
+echo "----->Installing python libraries"
 apt-get -y install python3 python3-pip python3-setuptools
 update-alternatives --install /usr/bin/python python /usr/bin/python3 10
 apt-get update
-- 
GitLab