blob: e8d65bb8aec94d9d4323b9e12640a6468349f73d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
# Remove --nohttpinterface argument, since it does not exist on MongoDB >= 3.6.x anymore
# See https://community.ubnt.com/t5/UniFi-Routing-Switching/MongoDB-3-6/td-p/2195435
for arg do
shift
[ "${arg}" = "--nohttpinterface" ] && continue
set -- "$@" "${arg}"
done
exec /usr/bin/mongod "$@"
|