How to config alternate dir for mongodb.conf (ldap/saslauthd)

Hello,
im not allowed to put the mongodb.conf file into /etc/sasl2 or
/usr/local/etc . How can i set an alternate directory for example
under /opt ?
recompile the saslauthd with option to set it ?

thanks in advance

1 Like