Ubuntu Pastebin

Paste from me at Wed, 20 Apr 2016 23:21:55 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
description "neo4j upstart"

start on startup
stop on shutdown

script
  echo $$ > /var/run/neo_start.pid
  exec /home/ubuntu/neo/neo4j-enterprise-2.3.1/bin/neo4j start
end script

pre-start script
  echo "[`date`] Neo4j Starting" >> /var/log/neo.log
end script

pre-stop script
  rm /var/run/neo_start.pid
  echo "[`date`] Neo4j Stopping" >> /var/log/neo.log
end script
Download as text