Hi, I have installed MongoDB: http://docs.webfaction.com/software/mongodb.html, and I start my process using `nohup mongod --auth --dbpath $DB --port $PORT &' from the terminal. My question is about restarting it when the server is rebooted. Is the recommended way to monitor it, and restart if neccessary via a cronjob, or is there some other best practices kind of way? Thanks, Marcin asked 09 Dec '13, 01:45 naartjie |
Restarting it via a cron job, using "@reboot" as the schedule component of the job, is the recommended way to restart an app immediately following a reboot. answered 09 Dec '13, 14:18 seanf |