I am running MongoDB on Webfaction as a database of a Django app . Problem is I have to keep my SSH terminal session open and use this syntax to keep running MongoDB .
mongod --dbpath ~/webapps/mongo_db/mongodb/ --port 31706
As soon as I close my terminal the connection to database dies . What is the solution to keep mongodb running always on server ?
sudo service mongodb status
?mongod service
viasudo service mongod status