Ubiquiti still hasn't fixed UniFi-LTS after this was reported ages ago, so I guess every OS will have to fix this manually. Reported by: many MFH: 2019Q1
6 lines
159 B
Bash
6 lines
159 B
Bash
#!/bin/sh
|
|
|
|
# Remove argument that doesn't exist on mongodb 3.6+
|
|
ARGS="$(echo -n ${@} | /usr/bin/sed 's,--nohttpinterface,,')"
|
|
|
|
%%PREFIX%%/bin/mongod ${ARGS} &
|