#!/bin/sh

if [[ -v IS_RUNIT ]]; then
    exec 2>$LOG_DIR/elephant
    exec 1>$LOG_DIR/elephant
fi

exec /usr/sbin/elephant -c $CONFIG_DIR/hosts/main/elephant "$@"
