Hi @Kodumuri_Raghavender, if you installed MongoDB via the yum package manager then this is already set up as a service. If you manually installed MongoDB then you would have to build your own service file to run it as a service.
yum