How to get mongodb to start at boot time in Ubuntu -



How to get mongodb to start at boot time in Ubuntu -

i have stock install of ubuntu 14, installed few weeks ago. installed mongodb apt-get. when run

sudo service mongodb start

then service runs correctly , can access mongodb goodness. however, whenever reboot not start automatically. have tried running update.rc or whatever called, , claims run still no luck.

is known issue? how can diagnose it? , guess, importantly, how can create start @ reboot?

for adding service startup try:

sudo update-rc.d <service_name> defaults

if doesn't work can add together start command in /etc/rc.local before line exit 0

mongodb

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -