summarylogtreecommitdiffstats
path: root/neo4j.service
blob: fbdbac8b42518cb4f07207043cf5a1d452c54246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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-17-openjdk
ExecStart=/usr/bin/neo4j start
ExecStop=/usr/bin/neo4j stop
PIDFile=/run/neo4j/neo4j.pid
LimitNOFILE=40000
TimeoutSec=120

[Install]
WantedBy=multi-user.target