-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathneo4j-wrapper.conf.erb
46 lines (39 loc) · 1.86 KB
/
neo4j-wrapper.conf.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#********************************************************************
# Managed by puppet - Any changes will be overwritten
#********************************************************************
wrapper.java.additional=-Dorg.neo4j.server.properties=conf/neo4j-server.properties
wrapper.java.additional=-Djava.util.logging.config.file=conf/logging.properties
wrapper.java.additional=-Dlog4j.configuration=file:conf/log4j.properties
#********************************************************************
# JVM Parameters
#********************************************************************
wrapper.java.additional=-XX:+UseConcMarkSweepGC
wrapper.java.additional=-XX:+CMSClassUnloadingEnabled
<% if @newrelic_jar_path -%>
wrapper.java.additional=-javaagent:<%= @newrelic_jar_path %>
<% end -%>
# Java Heap Size: by default the Java heap size is dynamically
# calculated based on available system resources.
# Uncomment these lines to set specific initial and maximum
# heap size in MB.
<% if @jvm_init_memory -%>
wrapper.java.initmemory=<%= @jvm_init_memory %>
<% end -%>
<% if @jvm_max_memory -%>
wrapper.java.maxmemory=<%= @jvm_max_memory %>
<% end -%>
#********************************************************************
# Wrapper settings
#********************************************************************
# path is relative to the bin dir
wrapper.pidfile=<%= @install_prefix -%>/data/neo4j-server.pid
#********************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.
# Name of the service
wrapper.name=neo4j
wrapper.user=neo4j