#!/usr/bin/env bash

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

exec /usr/share/apm-server/bin/apm-server \
  -path.home /usr/share/apm-server \
  -path.config /etc/apm-server \
  -path.data /var/lib/apm-server \
  -path.logs /var/log/apm-server \
  "$@"
