commit | dc98185cba8c609431ad1c8e52884c7cf2a7f038 | [log] [tgz] |
---|---|---|
author | Tony Mack <tony.mack@gmail.com> | Sat Mar 12 14:13:24 2016 +0000 |
committer | Tony Mack <tony.mack@gmail.com> | Sat Mar 12 14:13:24 2016 +0000 |
tree | dc39d94b8bca9845a57a54243d5c9c33613e05df | |
parent | 5a7266beb9883ac3745732140fd86dc94dc2a601 [diff] [blame] |
initial checkin
diff --git a/containers/elk/logstash-forwarder/run_logstash-forwarder b/containers/elk/logstash-forwarder/run_logstash-forwarder new file mode 100644 index 0000000..e97edc4 --- /dev/null +++ b/containers/elk/logstash-forwarder/run_logstash-forwarder
@@ -0,0 +1,5 @@ +#!/bin/bash + +sed -i "s/logstash:5043/${LOGSTASH_HOST}:5043/g" /opt/logstash-forwarder/config.json + +/usr/bin/supervisord -c /etc/supervisor/conf.d/logstash-forwarder.conf