So when ,trying to start monogdb service by command systemctl start mongod,
it is giving error as Permission denied to read conf file.
Given same permission as default location conf file to custome location conf file and also update the file /usr/lib/systemd/system/mongod.service and changed the
Environment="OPTIONS=-f /etc/mongod.conf"
to
Environment="OPTIONS=-f /root/mongod.conf"
Can someone please help me with this?