Merge pull request #81 from wazuh/Issue_68-AWS_error

Erasing temporary fix for AWS integration
This commit is contained in:
AlfonsoRBJ
2018-12-20 13:23:46 +01:00
committed by GitHub

View File

@@ -76,11 +76,6 @@ 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"]