Permalink
Browse files

Tell the human who installs the package where to find logs

I would do this in the `/etc/init.d/logstash-forwarder start` output,
but I'm pretty sure systems like puppet/chef/etc rely on specific
confines of the output of init scripts, so there's probably nothing we
can output there. I'd love to know if this isn't true.

Fixes #402
  • Loading branch information...
jordansissel committed Mar 3, 2015
1 parent b835270 commit 6d610d33911adc7c36ddda4becc746d22779985b
Showing with 4 additions and 0 deletions.
  1. +2 −0 pkg/centos/after-install.sh
  2. +2 −0 pkg/ubuntu/after-install.sh
@@ -3,3 +3,5 @@
chown -R logstash-forwarder:logstash-forwarder /opt/logstash-forwarder
chown logstash-forwarder /var/log/logstash-forwarder
chown logstash-forwarder:logstash-forwarder /var/lib/logstash-forwarder
echo "Logs for logstash-forwarder will be in /var/log/logstash-forwarder/"
@@ -4,3 +4,5 @@ chown -R logstash-forwarder:logstash-forwarder /opt/logstash-forwarder
chown logstash-forwarder /var/log/logstash-forwarder
chown logstash-forwarder:logstash-forwarder /var/lib/logstash-forwarder
update-rc.d logstash-forwarder defaults
echo "Logs for logstash-forwarder will be in /var/log/logstash-forwarder/"

0 comments on commit 6d610d3

Please sign in to comment.