mirror of
https://github.com/luzifer-docker/vault-es-audit.git
synced 2024-11-08 12:50:00 +00:00
8 lines
236 B
Bash
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 "$@"
|