summarylogtreecommitdiffstats
path: root/neo4j.service
blob: 879fecb2452354685bebfe1d98b6a86a1e0a7ca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Neo4j

[Service]
User=neo4j
Type=forking
Environment=NEO4J_CONF=/etc/neo4j
Environment=NEO4J_HOME=/usr/share/java/neo4j
Environment=JAVA_HOME=/usr/lib/jvm/java-11-openjdk
ExecStart=/usr/bin/neo4j start
ExecStop=/usr/bin/neo4j stop
PIDFile=/run/neo4j/neo4j.pid
LimitNOFILE=40000

[Install]
WantedBy=multi-user.target