#!/usr/bin/env bash

# Script to run Auditbeat in foreground with the same path settings that
# the init script / systemd unit file would do.

exec /opt/freeware/share/auditbeat/bin/auditbeat \
  -path.home /opt/freeware/share/auditbeat \
  -path.config /opt/freeware/etc/auditbeat \
  -path.data /opt/freeware/var/lib/auditbeat \
  -path.logs /opt/freeware/var/log/auditbeat \
  "$@"
