Commit graph

17 commits

Author SHA1 Message Date
Siddhartha Sahu
67c1b8021a Use the new LS_GC_LOG_FILE variable in init scripts
Follow up to pull request #4718

Fixes #4733
2016-02-29 19:40:27 +00:00
Suyog Rao
b548bee16f Set LS_HEAP_SIZE correctly to 1g
Previously we had set heap size to 1g in a few places, but not everywhere

Fixes #4550
2016-01-22 17:17:34 +00:00
Pere Urbon-Bayes
193765ced2 adapt the lib.sh file to the use case proposed LS_JAVA_OPTS add to defualts while JAVA_OPTS override
updated the packaged to enable JAVA_OPTS to override the defaults

ammended JAVA_OPTS being exported

ammend warning wording

ammend the last commit

fix wording again

Fixes #2942
2015-04-17 13:49:19 +00:00
Pere Urbon-Bayes
cbaadb16f2 make the LS_JAVA_OPTS environment variable available to the client side, so the user is not force to use the default ones and they can rewrite it
remove stale code

cleanup the bash conditions for when a variable is defined or not

make sure LS_JAVA_OPTS override JAVA_OPTS when need

ammend unused var

rollback to previous use case of appending vars to JAVA_OPTS in the case of having LS_JAVA_OPTS

Fixes #2942
2015-04-17 13:49:19 +00:00
Jordan Sissel
618a0e70a0 Send stdout/stderr to the log file configured.
This should help catch any weird crashes that occur before logstash's
logger takes over.
2014-04-09 16:34:45 +02:00
Jan Gaedicke
b91bf22fc7 fixes https://logstash.jira.com/browse/LOGSTASH-2040
stderror still open after calling /etc/init.d/logstash start
You should redirect stderror AND stdout of logstash to /dev/null, so all outputs are closed cleanly and automation tools reading the output of the init-script can quit cleanly.
2014-04-01 20:46:14 +02:00
Jan Gaedicke
942d3550a3 starting a already running service should return exit code 0
according to the Linux Standard Base Core Specification this shouldn't be 99 but 0
see http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
2014-04-01 20:46:14 +02:00
Faye Salwin
3537c6b847 Tarball packages. Homogenized init. Common defaults. 2014-02-24 14:21:01 -08:00
Richard Pijnenburg
0558a8f834 Fixes for Init files
- Remove the START=true check from all sysv style init files.
- Set the java check to a which command
2014-02-13 17:08:39 +01:00
Adam Peck
b0c36843cb Use instead of pgrep to get PID 2014-01-20 13:02:09 -07:00
Adam Twardowski
72142fc01a Update logstash.sysv.redhat
Move daemon startup to be much later to allow for network file-systems to be mounted before we start.
2013-10-24 12:37:12 -04:00
Jordan Sissel
9f27a560e4 Merge pull request #458 from pletisan/master
When checking status of daemon, exit with proper exit code.
2013-05-28 23:42:37 -07:00
Oded Maimon
143ace43f5 fixed centos init script to use /var/run/logstash/ for lock file 2013-05-16 13:26:53 +03:00
Oded Maimon
029eb473ec fixed the build process to copy the jar as logstash.jar and the redhat script to work with the correct LS_HOME location which is /opt/logstash 2013-05-13 14:53:53 +03:00
pletisan
a2a2a6e4d2 logstash.sysv.redhat uses exit code on status check
Update logstash.sysv.redhat to use exit code on status check.
2013-04-25 18:21:32 +02:00
Jordan Sissel
18db3338a8 - SINCEDB_PATH is no longer. 2013-04-16 09:59:57 -07:00
Jordan Sissel
e03ea89f70 - start hacking on a package build 2013-04-15 21:53:12 -07:00