fancy fancy - 6 months ago 30
Node.js Question

How do you keep mongo running on a remote server?

When running mongo on a remote aws server (ubuntu) what is the best way to keep a mongo instance running after sshing to it to start it?

Answer

Take a look here. In short, you should use mongod --fork --logpath /var/log/mongod.log

Comments