start mongodb server from application code example Example: mongodb start server sudo systemctl start mongodb