Commit graph

14 commits

Author SHA1 Message Date
stuart-warren
e4573c80c3 Create /var/lib/logstash for ubuntu
Missing /var/lib/logstash for ubuntu
Package will not install properly without it
2013-09-03 12:46:43 +01: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
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
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
cb00ed815c - add sample sysconfig 2013-04-23 15:58:01 -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
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