summarylogtreecommitdiffstats
path: root/neo4j.service
diff options
context:
space:
mode:
authorHal Gentz2018-07-03 01:55:17 -0600
committerHal Gentz2018-07-03 01:59:27 -0600
commit91bb74daff41788e13eedcaa3b2357db30663156 (patch)
tree02cd2970a614838998640483420a23a00f836e40 /neo4j.service
parentb82e4efa0f9c4ff77a33b99c57ce4aa99248f03b (diff)
downloadaur-91bb74daff41788e13eedcaa3b2357db30663156.tar.gz
Initial
Signed-off-by: Hal Gentz <zegentzy@protonmail.com>
Diffstat (limited to 'neo4j.service')
-rw-r--r--neo4j.service15
1 files changed, 7 insertions, 8 deletions
diff --git a/neo4j.service b/neo4j.service
index 37a6f9aeb69a..0254596d52fa 100644
--- a/neo4j.service
+++ b/neo4j.service
@@ -1,15 +1,14 @@
[Unit]
-Description=Neo4j
+Description=Neo4j Graph Database
+After=network-online.target
+Wants=network-online.target
[Service]
+ExecStart=/bin/neo4j console
User=neo4j
-Type=forking
-Environment=NEO4J_CONF=/etc/neo4j
-Environment=NEO4J_HOME=/usr/share/neo4j
-ExecStart=/usr/bin/neo4j start
-ExecStop=/usr/bin/neo4j stop
-PIDFile=/run/neo4j/neo4j.pid
-LimitNOFILE=40000
+Group=neo4j
+LimitNOFILE=60000
+TimeoutSec=120
[Install]
WantedBy=multi-user.target