Commit graph

122 commits

Author SHA1 Message Date
Hans-Christian Otto
a55a524864 Created symlink for /var/lib/logstash/logstash.jar
The puppet manifests expect it here. If you'd prefer that, i could also change it in the puppet manifests.
2013-08-26 17:35:10 +02:00
Tray Torrance
d28a250b46 Create and package an init script for logstash-web 2013-08-14 16:03:19 -07:00
Tray Torrance
8925b68082 Various fixes to generated .deb packages
This resolves a few inconsistencies and issues in the generated packages
for Debian/Ubuntu:

  * Creates /etc/logstash/conf.d
  * Installs a basic defaults file in /etc/default/logstash (which also sets HOME)
  * Stops creating /var/run/logstash (unused)
  * Uses /var/lib/logstash as the home directory of the logstash user instead of /home/logstash
  * Defaults package files to be owned by root, fixes ownership in post-install script
  * Properly stops service when removing the package on Debian

The end result is that after installing, LogStash will pretty much "just
work" with only 2 changes:

1) Enable START=yes in /etc/default/logstash
2) Provide a config for the LogStash agent
2013-08-14 16:03:19 -07:00
Jordan Sissel
dae45ce8fd - fix bug where different packages would build from the same directory
causing centos things to leak into ubuntu packages (Reported by Kristian
Glass)
2013-08-09 09:20:29 -07: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
Jordan Sissel
f0d1cbc571 tabs -> spaces 2013-05-28 22:21:52 -07:00
Oded Maimon
f02903ef4b another fix :) 2013-05-16 15:01:08 +03:00
Oded Maimon
6da8fd1373 another change to build.sh for centos 2013-05-16 14:04:22 +03: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
Jordan Sissel
c9377e9572 - add more-documented sysconfig defaults for centos 2013-04-28 13:27:17 -07: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
cb00ed815c - add sample sysconfig 2013-04-23 15:58:01 -07:00
Jordan Sissel
c84245d89a - Fix homedir; was a remnant of a past life being in an rpm spec. 2013-04-23 14:56:36 -07:00
Jordan Sissel
18db3338a8 - SINCEDB_PATH is no longer. 2013-04-16 09:59:57 -07:00
Jordan Sissel
7466375ef3 - add 'packages' target
- bump to 1.1.10.rc1
2013-04-15 22:28:08 -07:00
Jordan Sissel
cb8a8ba194 build build build build 2013-04-15 22:20:09 -07:00
Jordan Sissel
f1e34fe6e0 - fix build 2013-04-15 22:17:58 -07:00
Jordan Sissel
da3d794f8c - add debian nonsense 2013-04-15 22:15:17 -07:00
Jordan Sissel
9011562a97 - more scripts 2013-04-15 22:14:34 -07:00
Jordan Sissel
e03ea89f70 - start hacking on a package build 2013-04-15 21:53:12 -07:00
Jordan Sissel
5894cb0510 - make a pkg dir 2013-04-15 20:19:00 -07:00