initial commit
This commit is contained in:
25
files/logstash/logstash-init
Normal file
25
files/logstash/logstash-init
Normal file
@@ -0,0 +1,25 @@
|
||||
# logstash-indexer.conf# logstash - indexer instance
|
||||
#
|
||||
|
||||
description "logstash indexer instance"
|
||||
|
||||
start on virtual-filesystems
|
||||
stop on runlevel [06]
|
||||
|
||||
respawn
|
||||
respawn limit 5 30
|
||||
limit nofile 65550 65550
|
||||
|
||||
env HOME=/opt/logstash
|
||||
env JAVA_OPTS='-Xms512m -Xmx512m'
|
||||
|
||||
chdir /opt/logstash
|
||||
setuid root
|
||||
console log
|
||||
|
||||
# for versions 1.1.1 - 1.1.4 the internal web service crashes when touched
|
||||
# and the current workaround is to just not run it and run Kibana instead
|
||||
|
||||
script
|
||||
exec java -jar /opt/logstash/share/logstash.jar agent -f /opt/logstash/etc/logstash.conf --log /var/log/logstash/logstash-indexer.out
|
||||
end script
|
||||
Reference in New Issue
Block a user