#!/usr/bin/env bash

# Script to run Packetbeat in foreground with the same path settings that
# the init script / systemd unit file would do.
umask 0027
exec /usr/share/packetbeat/bin/packetbeat \
  --path.home /usr/share/packetbeat \
  --path.config /etc/packetbeat \
  --path.data /var/lib/packetbeat \
  --path.logs /var/log/packetbeat \
  "$@"
