Add compatiblity with AWS-integration (#69)

This commit is contained in:
AlfonsoRBJ
2018-11-19 09:34:16 +01:00
committed by Jesús Linares
parent 2d1f61e5b5
commit 6f355f0405

View File

@@ -76,5 +76,11 @@ RUN mkdir /etc/service/filebeat
COPY config/filebeat.runit.service /etc/service/filebeat/run
RUN chmod +x /etc/service/filebeat/run
# Temporary fix for AWS integration
RUN sed -i 's/.*with open*/#wiht open/' /var/ossec/wodles/aws/aws-s3
RUN sed -i 's/.*max_queue_buffer = int(kernel_param.read().strip())*/#max_queue_buffer/' /var/ossec/wodles/aws/aws-s3
RUN sed -i '784imax_queue_buffer = 0' /var/ossec/wodles/aws/aws-s3
RUN sed -i '784s/^/ /' /var/ossec/wodles/aws/aws-s3
# Run all services
ENTRYPOINT ["/entrypoint.sh"]