#!/bin/sh

# Remove argument that doesn't exist on mongodb 3.6+
ARGS="$(echo -n ${@} | /usr/bin/sed 's,--nohttpinterface,,')"

/usr/local/bin/mongod ${ARGS} &
