How do I set Neo4j to start automatically at boot?

I want to start Neo4j service on boot, and my system environment is Redhat .

I add below text on /etc/rc.d/rc.local

but it doesn't work

/opt/neo4j/bin/neo4j start

      

But it works for MongoDB ...

/opt/mongodb/bin/mongod

      

+3


source to share


1 answer


Please take a look at the Neo4j link for Linux installation. You can find it here:

http://docs.neo4j.org/chunked/stable/server-installation.html#_linux_service

We have an installer script that will configure Neo4j to run on system boot $ /path/to/neo4j-community-2.1.4/bin/neo4j-installer install



First, remove the text you added from /etc/rc.d/rc.local

to make sure there are no conflicts.

You can also use our debian package setup to automatically download, install and configure Neo4j as a service on Linux.

Information can be found here: http://debian.neo4j.org/

0


source







All Articles