Advertisement
Guest User

/etc/sysconfig/elasticsearch

a guest
Jun 12th, 2014
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1.  
  2. # Directory where the Elasticsearch binary distribution resides
  3. ES_HOME=/usr/share/elasticsearch
  4.  
  5. # Heap Size (defaults to 256m min, 1g max)
  6. #ES_HEAP_SIZE=2g
  7.  
  8. # Heap new generation
  9. #ES_HEAP_NEWSIZE=
  10.  
  11. # max direct memory
  12. #ES_DIRECT_SIZE=
  13.  
  14. # Additional Java OPTS
  15. #ES_JAVA_OPTS=
  16.  
  17. # Maximum number of open files
  18. MAX_OPEN_FILES=65535
  19.  
  20. # Maximum amount of locked memory
  21. #MAX_LOCKED_MEMORY=
  22.  
  23. # Maximum number of VMA (Virtual Memory Areas) a process can own
  24. MAX_MAP_COUNT=262144
  25.  
  26. # Elasticsearch log directory
  27. LOG_DIR=/var/log/elasticsearch
  28.  
  29. # Elasticsearch data directory
  30. DATA_DIR=/var/lib/elasticsearch
  31.  
  32. # Elasticsearch work directory
  33. WORK_DIR=/tmp/elasticsearch
  34.  
  35. # Elasticsearch conf directory
  36. CONF_DIR=/etc/elasticsearch
  37.  
  38. # Elasticsearch configuration file (elasticsearch.yml)
  39. CONF_FILE=/etc/elasticsearch/elasticsearch.yml
  40.  
  41. # User to run as, change this to a specific elasticsearch user if possible
  42. # Also make sure, this user can write into the log directories in case you change them
  43. # This setting only works for the init script, but has to be configured separately for systemd startup
  44. ES_USER=elasticsearch
  45.  
  46. # Configure restart on package upgrade (true, every other setting will lead to not restarting)
  47. #RESTART_ON_UPGRADE=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement