Skip to content

Commit

Permalink
Ship a sample config file with logstash-forwarder that does nothing b…
Browse files Browse the repository at this point in the history
…ut is well-commented

Fixes #402
  • Loading branch information
jordansissel committed Mar 4, 2015
1 parent ad0cf80 commit ec77079
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ clean:
.PHONY: generate-init-scripts
generate-init-script:
pleaserun --install --no-install-actions --install-prefix ./build \
--overwrite -p sysv -v lsb-3.1 $(PREFIX)/bin/logstash-forwarder
--overwrite -p sysv -v lsb-3.1 $(PREFIX)/bin/logstash-forwarder -config /etc/logstash-forwarder.conf

.PHONY: rpm deb
deb: AFTER_INSTALL=pkg/ubuntu/after-install.sh
Expand All @@ -39,4 +39,5 @@ rpm deb: compile generate-init-script
--before-install $(BEFORE_INSTALL) \
--before-remove $(BEFORE_REMOVE) \
./logstash-forwarder=$(PREFIX)/bin/ \
./logstash-forwarder.conf.example=/etc/logstash-forwarder.conf \
./build/=/

0 comments on commit ec77079

Please sign in to comment.