| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | ################################################################################# These settings are ONLY used by $LS_HOME/bin/system-install to create a custom# startup script for Logstash and is not used by Logstash itself. It should# automagically use the init system (systemd, upstart, sysv, etc.) that your# Linux distribution uses.## After changing anything here, you need to re-run $LS_HOME/bin/system-install# as root to push the changes to the init script.################################################################################# Override Java location#JAVACMD=/usr/bin/java# Set a home directoryLS_HOME=/usr/share/logstash# logstash settings directory, the path which contains logstash.ymlLS_SETTINGS_DIR="${LS_HOME}/config"# Arguments to pass to logstashLS_OPTS="--path.settings ${LS_SETTINGS_DIR}"# Arguments to pass to javaLS_JAVA_OPTS=""# pidfiles aren't used the same way for upstart and systemd; this is for sysv users.LS_PIDFILE=/var/run/logstash.pid# user and group id to be invoked asLS_USER=logstashLS_GROUP=logstash# Enable GC logging by uncommenting the appropriate lines in the GC logging# section in jvm.optionsLS_GC_LOG_FILE=/var/log/logstash/gc.log# Open file limitLS_OPEN_FILES=16384# Nice levelLS_NICE=19# Change these to have the init script named and described differently# This is useful when running multiple instances of Logstash on the same# physical box or vmSERVICE_NAME="logstash"SERVICE_DESCRIPTION="logstash"# If you need to run a command or script before launching Logstash, put it# between the lines beginning with `read` and `EOM`, and uncomment those lines.##### read -r -d '' PRESTART << EOM## EOM
 |