vault-es-audit/start.sh
Knut Ahlers 549a273141
Initial version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-13 18:08:48 +01:00

8 lines
236 B
Bash

#!/bin/sh
[ -e /config/filebeat.yml ] && cp /config/filebeat.yml /opt/filebeat/filebeat.yml
# filebeat refuses to work if config is writable for others than owner
chmod 644 /opt/filebeat/filebeat.yml
exec /opt/filebeat/filebeat "$@"